How to display the value instead of the label?

Discussion in 'Community' started by railer, Jan 12, 2018 at 9:16 PM.

  1. railer

    railer Member

    Level: Community
    I have form with a number of radiobutton elements. The labels are Yes, and No.
    In the Value field for the Yes option I have a short sentence of text. In the No option, it is just No.

    When I view he Detail page of the record, it is displaying the "Yes" label. How to I get it to display the short text sentence?

    Thanks!
     
  2. Sophist

    Sophist Moderator Staff Member

    Level: Community
    Swap the values and labels.

    The labels are what are displayed, the values are what is stored in the database.
     
  3. railer

    railer Member

    Level: Community
    Thanks for your reply Sophist. The problem is that this is a Radiobuttom element, whose labels are "Yes/No". Whereas the value is a text sentence, (correctly stored in the database) wouldn't work in a Yes/No button. Any other ideas? I'm assuming I need code to swap them, yes?
     
  4. Sophist

    Sophist Moderator Staff Member

    Level: Community

Share This Page