cokefour
asked on
Order form blues
Hi Experts,
I am trying to collect information from an order form but only wish to use the information from the form where the quantity ordered is greater than 0 and perform calculations based on that.
I had thought of trying to create an array of each item and selecting only the ones with the qty greater than 0 or creating an object with the needed properties to hold the information from each form.
The page is visible here and if you're firebugging the Javascript is there too. The form in question is the one with the fruit juices.
If there's an easier way than the ones I outlined please let me know.
Merçi
Coke
I am trying to collect information from an order form but only wish to use the information from the form where the quantity ordered is greater than 0 and perform calculations based on that.
I had thought of trying to create an array of each item and selecting only the ones with the qty greater than 0 or creating an object with the needed properties to hold the information from each form.
The page is visible here and if you're firebugging the Javascript is there too. The form in question is the one with the fruit juices.
If there's an easier way than the ones I outlined please let me know.
Merçi
Coke
ASKER
DO you know how I would be able to associate each price and name with its quantity?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window