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 can i create a form with values to each option

    Asked by Riz Khan  on August 13, 2016 at 08:57 AM

    Dear Sir,

    I need to create a form like the link given below.
    Notice how there is a calculate button at the bottom

    So each option within each question has a value assigned to it. Then at the end we sum up all the values, depending on what is selected by the user

    Can your form software allow me to create this form?

     

    If it can, please send me link to help guide on how to do it

     

    http://www.penurology.com/Prostate-Health-Quiz.html

    create a form calculation values computation compute calculate condition conditional logic
  • Profile Image
    JotForm Support

    Answered by Mike_G on August 13, 2016 at 01:56 PM

    Yes, it would be possible to create such form here in Jotform. I have checked the form and the only thing that cannot be replicated is the "Calculate" button but, there is a workaround to achieve such using other fields and conditional logic.

    Below are the steps on how you can achieve such form.

    1. Add the question fields to your form using radio button field that can be found under Basic Fields of the Form builder page.

     

    2. For each radio button field, assign calculation values for each option it has. The calculation values should be 0, 1, 2, 3, 4, and 5 (separated by a new line) representing each option in the radio field, "Not at all", "Less than 1 time in 5", "Less than half the time", "About half the time", "More than half the time", and "Almost always" respectively.

    3. In the form shown on the web page you've included in your post, the calculate button needs to be clicked before it will show the calculation in a textbox field. Now, since Jotform doesn't have a button that can function the same, we will use a checkbox field that if ticked it will show the calculated value in a textbox field.

    4.  Create the calculation using the conditional logic, Update/Calculate Field.

    5. Setting each radio button field selected option to "Not at all" by default.

    To add the other texts in the form, you can use "Text" under Basic Fields of the Builder page.

    To make the radio button field label on top of the options you can change its "Label Align" option to "Top".

    I hope thi helps. If you have any questions with any of the instructions given above, please do not hesitate to get back to us and let us know. Thank you.

  • Profile Image
    JotForm Support

    Answered by Mike_G on August 13, 2016 at 02:00 PM

    By the way, I forgot to include the link to a sample form. So here it is, 

    https://form.jotform.com/62254457293965

    Please feel free to clone it so you can inspect it. 

    The instruction on how you can clone a form from a Form URL is found in this guide: How-to-clone-an-existing-form-from-a-URL

    Thank you.