What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Calculations in a field based on an earlier customer response Y/NAsked by District1010 on February 27, 2014 at 08:53 AM
You kindly attempted to make this clear for me but it has me stumped this is the bit you gave me
Here's how I designed the field so that it is added into the calculation:
The <em></em> tags will dissapear and leave an italicized number, that's fine, we just don't want them to show on the form.
To hide hose numerical values on the live form, just add the following CSS rule into your form using this guide:
Now you can add the field in any calculation, and using the 0/1 based on what the form user selects (or whatever you have in there), you can manipulate the result of the calculation.
Here's a guide that might clarify things:
I wonder if I could ask to describe the way you implimented its use in my form? I suspect this might put my other posting into perspective.
I can see that the reply you pasted in this thread was given by my colleagued Titus on this thread: http://www.jotform.com/answers/339489
I think that my colleague made that suggestion as he stated "I take it you want to add them as a factor in the calculation"
So based the on that statement I can give you this explanation.
Since there is no other way to add a default value to the Radio button other than putting a number in th its label, you need to apply the workaround suggested by my colleague, which is:
1. Adding the value 1 to Yes and 0 to NO. That way the value will read by the calculation feature and will affect also the calculation.
2. But, to hide those numbers from the label of the options for the Radio button you need to use the tags <em> and </em> and then give them a transparent color using CSS code.
In that way you can accomplish the desired calculation in your form.
I hope this helps you to understand better. Please let us know if I have misunderstood your inquiry or if you need further assistance with this.
All cleared now thanks, I did two threads running albeit two elements to it but once the other was sorted this too fell into place - thanks for your rtime