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 do I get all of the quantity values in a payment field to match when any of them is changed?Asked by owensgraphicdesign on March 10, 2014 at 08:11 PM
I an trying to make a form uniform. When you click on "Quanity" all the other event dates display this as a option of how many people to sign up:
How do I do this?
create 3 all
I'm not sure I understand your request correctly. You would like to have only one "Quantity" box for the PayPal Payment tool?
Kindly review my layout suggestion of your form (I have cloned your form and edited a suggested layout)
I do see that the Total box on the form embedded on your webpage does not respond. I would also suggest to embed the form using the iFrame Method instead of the script method. To avoid any script conflicts in your page.
Do let us know if you need further assistance. Thank you.
If you wish all of the quantities to be updated simultaneously, you would need to replace the default form code currently embedded in your page with the full source code and add a script to update the quantities. I can probably create such a script but getting the total to update accordingly could prove challenging. I'll give it a go though.
The script was actually much easier to create than I thought. Here's a page containing a clone of your form. As you'll see, each quantity is updated with whatever is selected in any of the others. To achieve the same functionality in your own form, replace the form code in your web page with its full source and then add this code anywhere after the form's code (preferably just before the page's closing body tag like in the demo).
If anything is unclear please let us know.