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.


  • Profile Image

    How do I assign a unique value to radio button option?

    Asked by mjgroup on November 18, 2014 at 07:05 AM

    Example. - See Screenshot

    I have assigned softback book value as 50 by following another forum post:

    softback<em>50</em> then making it transparent in my CSS .

    I then want to assign say A4 to the value of 20 and A5 to the value of 10 ( see below)

    My calculation at the end should then be equal to

     <book> + <book size>

    50+10 = 60

    But it's not working I assume because A4 is a number already..?

    Any possible work around?

    Thanks,

    Caroline

     

    Page URL:
    http://form.jotformeu.com/form/43174193519357

    unique selected JotForm size POST uploads
  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 18, 2014 at 08:33 AM

    Hello Caroline,

    Well there is a better straight forward way to achieve your requirement. You can set the "Calculation Value" for every options of your radio button question. These values can then be used in the "Form Calculation" widget.

    Here are the steps you should follow:

    1. Click on the gear icon of your radio button question and then click on "Show Properties".

    2. Set the Calculation values for every option. Please check the screenshot below:

    3. Add a "Form Calculation" widget in your form and set the formula to calculate the values. Please check the screenshot below:

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by mjgroup on November 18, 2014 at 08:43 AM

    Ah amazing thank you! (silly me)

  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 18, 2014 at 08:47 AM

    Hello mjgroup,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!