Hi,
I've created a form that lets you order items in a list with a grand total at the bottom.
All the user does is input quantities then the price per line and the grand total at the bottom are automatically calculated. The user then presses submit and I receive an email with their order.
Simple.
What I'd like to do is not let the person be able to submit the form unless their order is a minimum of $50.
I assume I need to put a conditional statement in the action on the submit button??? But unfortunately I've never coded in javascript and have no idea what the code would be. Would it be some sort of if statement stating [if Grand Total is < 50 spit out this message "blah blah blah", else submit form]
Could anybody enlighten me please?
Thank You.
You will need to adjust the name of the Grand Total field, as well as the parameters for the submitForm function. Have a look at the reference files for more info.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com