2 Replies Latest reply on Jul 2, 2015 2:58 PM by EdwinMerced

    Radiobutton Yes - No with alternate text in report

    EdwinMerced

      Title

      Radiobutton Yes - No with alternate text in report

      Post

      I am new to FM. I would appreciate help and support.

      I have a radio button in a form with Yes and No options.

      I would like to know how to go about for having some text added to a report if the user selected Yes and an alternate or different text if the user selected No. 

      Thank you,

      Edwin

        • 1. Re: Radiobutton Yes - No with alternate text in report
          philmodjunk

          If this is a text field with those two values specified in the value list, you could add a calculation field for use in your report such as:

          Case ( RadioButtonField = "yes" ; "Text for when value is Yes goes here" ;
                       RadiobuttonField = "No" ; "Text for when value is No goes here" )

          Another way to do this is to put these two text messages in two different records in a related table where your radio button field is the match field to a corresponding field in this table. The advantage to this second option is that if it is later determined that one of these messages should be changed, a user can edit the data in this table to get a different message without the need to make design changes by editing this calculation.

          • 2. Re: Radiobutton Yes - No with alternate text in report
            EdwinMerced

            Thank you very much for your response.

            You have given me direction.

            Have a great day!