Pass Text Values from Single Choice Field to a Text Field?

  • TimGNO
    Asked on October 9, 2018 at 8:14 AM

    What if I want to use the 'text' values from a Single Choice widget, instead of the (hidden) 'number' values?

    For example, I have a Single Choice selector (called "Meter Size") with two options (let's call them "A" and "B"), with "Use Calculated Values" turned ON, and those values are set to numbers (let's say "100" and "200") which are not visible on my form.

    My Text Box is using the field {MeterSize}, but it results in "100" or "200" being substituted, just as {MeterSize} would do in a Calculation widget. How can I instead pull the "A" and "B" into my text field??

  • DonaldHag
    Replied on October 9, 2018 at 11:11 AM

    To change this, you have to turn off Calculation Values such that the text value "A" or "B" can be copied into the Text Field. This is because any action to copy the Single Choice Widgets values to another field will copy the calculation values once it is turned on. 

    Alternatively, you can use a calculation condition to insert the value into a Short Text Entry Field and then copy that value to the Text Field. 

  • DonaldHag
    Replied on October 9, 2018 at 11:23 AM

    A duplicate thread was created so my colleague has provided a solution as well that you can view here: https://www.jotform.com/answers/1604593