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.
How can I create a value of registration based on specific answers to questionsAsked by AssocVascularAccess on February 25, 2016 at 02:10 PM
I would like to set it up so that the "member registration" field is hidden, however the payment portion shows and the amount charged is based on specific answers.
If: "Are you an AVA member" is marked yes AND "Type of Registration" is In Studio THEN the price is $100
If: "Are you an AVA member" is marked no AND "Type of Registration" is In Studio THEN the price is $125
If: "Are you an AVA member" is marked yes AND "Type of Registration" is Via Webcast THEN the price is $75
If: "Are you an AVA member" is marked no AND "Type of Registration" is Via Webcast THEN the price is $100
Is this possible? Thank you for your help.
create how how can i
Yes, Cindy, this is possible with JotForm forms.
1. You will need to use a Number field, and set up conditional rules to insert your desired value into this number field based on which options are selected. This number field can be hidden by clicking its gear-shaped icon > Hide Field, so that your users do not see it.
2. Please take a look at our guide on Smart Forms Using Conditional Logic, and particularly the update/calculate field type of conditions, which we also call the insert conditions. You will use these conditions to insert a desired value into the number field.
3. You will also need to use a Form Calculation field, and set it up so that it only calculates the value of the Number field from step 1. As our conditions will update the Number field, that same value will automatically go to the Form Calculation field as well.
Please take a look at our guide on how to perform calculation in the form.
4. Finally, we will be passing the value from the calculation field into the payment tool for accepting payments.
The reason why we can't conditionally update the calculation field directly is because calculation on condition would conflict, so we are conditionally updating the value of a number field, and than the calculation can take that conditional value and pass it on to the payment tool.
Let us know if you need any further assistance in setting it up, and we will be glad to assist.
I understand what is being said below, except I’m not sure exactly how to tie it into my form. I don’t have a quantity of product. I have 2 different fields that determine the amount (member/non-member and type of registration). Since neither of them are an amount field I don’t know how to tie all the instructions together below.
I checked your form and I can see that you were successful in adding the conditions based on your specifications. The prices in the payment field change depending on the conditions that you have previously stated.
If you have any other concerns, feel free to contact us again.
Yes. But can you see that there is a "0" missing at the end of each of the values? How do I fix that?
To remove the decimals, simply follow the steps below.
1. Open the conditions wizard.
2. Click the Pencil icon to edit the conditions.
3. Press backspace on your keyboard to remove the decimals on the calculation field.
Do the same to the rest of the conditions until all of them have no decimals.
As you can see, the total value now has no decimals.
If you need further assistance, please let us know.