-
WesselingDigitalAsked on March 19, 2018 at 4:54 PM
This is the Dropdown which I am currently using and I added a moderate value for each of the options. When I use the field value (In my case {bistDu}) it will show me only the monetary value. Which ending do I need to attach to the field control in order to show what the user entered?
In this case, I would like to show:
{bistDu} = 60 EUR
{bistDu:??} = Student -
Kevin Support Team LeadReplied on March 19, 2018 at 7:00 PM
I have been testing and it's not possible to separate the data in text and value, you will need to implement a workaround for this.
I found a workaround that may work for you and it would require just some adjustments to your form:
1. Clone the field and turn off calculation values on the cloned field:
2. Set the field where calculation values are enabled as hidden:
3. Copy the value from the field without calculation values to the one with calculations, this guide will provide you more details about it: https://www.jotform.com/help/286-How-to-Pass-Field-Value-to-Another-Field
This way you will have two separated fields to get the selected text and value.
I hope this helps.
-
WesselingDigitalReplied on March 20, 2018 at 3:26 PM
Hi :)
Thanks for the quick reply :)
I gave it a shoot and it is somehow not passing the data...perhaps its a conditionalproblem :/ Could you perhaps have a look at it? -
Kevin Support Team LeadReplied on March 20, 2018 at 3:36 PM
Yes, this does not work since you need to copy the value from the field without calculations to the field with calculation values. Also, since you will have two fields you will have to use both names:
- Field with calculations to obtain the value of the selected option.
- Field without calculation values to obtain the text.
Please try doing this change and let us know how it goes.
-
WesselingDigitalReplied on March 23, 2018 at 11:45 AM
Still not working :( If I do it this way, I cannot enter a value in first form question.
Can you please take another look at this case?Thank you!
-
Kevin Support Team LeadReplied on March 23, 2018 at 1:02 PM
I already made the needed changes to your form and it works now, this is how the values have been configured, the hidden field has the calculation values:
This is how it works:
You can use {bistDu} for text and {bistDu19} for value.
I hope this helps.