JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to calculate a value depending on the selection of a radio button widgetAsked by kauseway on November 28, 2014 at 12:38 PM
I am trying to use some widget to use fancy image check boxes (morning slot) and (afternoon slot). There is no way in that widget to assign values to the selection.
But I can show or hide a number field based on the selection. Is there a work around to allow me to add a value to the morning slot selection to a calculation field?
One thought was to put the value in a hidden field. But first I dont want to show it if they select it. And two the calculation field adds it no matter if it is hidden or not. Thanks
A workaround that I can think of is using conditional logic to set a different value on a textbox (hidden if you want to) depending on the selection of the radio button widget.
Then you can use the value of the textbox in your calculation tool.
Let us know if this helps.