I was wondering how I would go about having more than 1 submit button in a form. In the form, I want to allow a user to input a length and width for a product. I will have the form calculate 3 different prices based on the thickness of the products that I have (1 inch, 2 inch and 3 inch thick). I would like to have a submit button next to each one of these options and based on which one the user clicks on it would run a different part of my custom code in the Load JS part of my "OnLoad" event.
Currently I am using just one submit event. In my general settings of my form under "Form tag attachment" I have
Thanks
Matt
Currently I am using just one submit event. In my general settings of my form under "Form tag attachment" I have
onsubmit= 'calculate()'
. Can I add an additional onsubmit event here just using another name for 'calculate()'? Do I need to name it something other than onsubmit?Thanks
Matt