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.
I would like the form to calculate from two different fieldsAsked by renag on December 13, 2016 at 10:39 AM
I have one field with radio buttons; each option is given a value
I would like to add to this total due, only if another field [ie middle name] is used, but not if it remains empty
can you suggest to me how to do this?
Do you want the SubTotal Field to remain empty or 0 if middle name is not filled?
If this is the case the you need to apply condition as described in the screenshot below :
Hope this helps.
Let me know if we are not on the same page.
Thanks so much for your quick and helpful response - you got me closer to the solution, but not quite there yet.
the subtotal is derived from the option of the radio buttons on the top of the form.
if the middle name is filled, then I would like to add $15 to this subtotal.
Yes it is possible to achieve your requirement and here are the steps you need to follow:
#1. Add a hidden textbox or "Form Calculation" widget in your form (below middle name field)
#2. Add a condition in form to check if the middle name is filled, then insert $15 in the hidden textbox.
#3. Edit the calculation formula of your "Sub Total" calculation widget and add the hidden field name to calculate the value. Please check the screenshot below for all the steps:
I would also suggest you to please take a look at the following cloned form where I have made the changes: https://www.jotformpro.com/form/63482323749967
I would suggest you to please clone this form for closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hope this helps.
Do get back to us if you have any questions.
thanks so much! it works perfectly