How can i create a form with values to each option

  • Riz Khan
    Asked on August 13, 2016 at 8: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

  • Mike_G JotForm Support
    Replied on August 13, 2016 at 1: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.

    How can i create a form with values to each option Image 1 Screenshot 80

     

    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.

    How can i create a form with values to each option Image 2 Screenshot 91

    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.

    How can i create a form with values to each option Image 3 Screenshot 102

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

    How can i create a form with values to each option Image 4 Screenshot 113

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

    How can i create a form with values to each option Image 5 Screenshot 124

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

    How can i create a form with values to each option Image 6 Screenshot 135

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

    How can i create a form with values to each option Image 7 Screenshot 146

    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.

  • Mike_G JotForm Support
    Replied on August 13, 2016 at 2: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.