Display selection and not calc values

  • hughdal
    Asked on April 11, 2024 at 8:30 PM

    I have calculation values in the "Type of paper" field.

    On page 2 I want to display the text of "Type of paper" but it seems to be pulling and displaying the calculation value instead. Is their a way to display the text instead? Thanks.

  • Lorenz JotForm Support
    Replied on April 12, 2024 at 12:16 AM

    Hi hughdal,

    Thanks for reaching out to Jotform Support. I cloned your form and I was able to replicate the issue. Technically, it's indeed because of the calculation value of the options. A workaround for this would be to pass the value of the selected option to a short-text field using the Update/Calculate condition. Let me walk you through it:

    1. In the Form Builder, add the Short text field.

    2. Set the Short text field to hidden.

    Display selection and not calc values Image 1 Screenshot 40

    3. Next, go to the Condition page and create an Update/Calculate a field condition.

    4. You will need to create multiple update/calculate conditions depending on the number of options you have in the 'Type of paper' field.

    5. Setup the condition to pass the corresponding option value to the short text field. Check this out:

    Display selection and not calc values Image 2 Screenshot 51

    6. Lastly, on the Paragraph element in Page 2, replace the type of paper variable with the short text field's variable that was added.

    Display selection and not calc values Image 3 Screenshot 62

    Give it a try and let us know if there's anything else we can help you with.

 
Your Answer