Listing Checkbox – return both values, yes and no

This topic contains 5 replies, has 3 voices, and was last updated by  milettic 7 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #239053

    milettic
    Expired Member
    Post count: 240

    I need something like on photo attached, checked and unchecked checkboxes to show but with different style. This is crucial and important functionality.
    Styling is not problem, i don’t know how to return both values.
    Thanks

    #239334

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I believe this is currently not possible without a customization.

    The value only shows if it is checked.

    I’ll ask to the developers to confirm and let us know if they can think of any workaround.

    Thanks

    #239341

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It’s not impossible to do just now, but you would need to add custom code for each one.
    I am in the middle of working on custom fields giving it a bit of an overhaul, so some things might change a little but i could give you and example snippet of code if you needed it?

    Thanks,

    Stiofan

    #239375

    milettic
    Expired Member
    Post count: 240

    Yes, please give me something i don’t know where to search for. I am lost between plugin-parent theme-child theme. This is my first WordPress project, need a bit to learn, sorry…
    Thank you

    #240609

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Milettic,

    While making you some example code i realised there is a clause that the field must output something before it can be changed, so at present it can’t work but i am working on custom fields now and i will make sure the next release will have hooks to allow this.

    Thanks,

    Stiofan

    #241005

    milettic
    Expired Member
    Post count: 240

    Ok, i appreciate that

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket