How do I get all of the quantity values in a payment field to match when any of them is changed?

  • Profile Image
    Asked 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?

  • Profile Image
    Answered on March 11, 2014 at 12:59 AM

    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.

  • Profile Image
    Answered on March 11, 2014 at 01:15 AM


    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.

  • Profile Image
    Answered on March 11, 2014 at 07:50 AM

    Hi again,

    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.