Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Is this form control by Javascript
- From: rer at datacompusa.com (Roger Roelofs)
- Subject: [Javascript] Is this form control by Javascript
- Date: Sat Apr 30 16:06:49 2005
Tee, On Apr 30, 2005, at 4:12 PM, tee wrote: > Hi I need to do an online order form like this one that is able to do > calculations upon submission, and when I received it, I will know the > total > price of the order. > > http://www.melsmarket.com/cgi-bin/orderonline.cgi For security reasons, you must do the calculations on the server, in your case, as part of the cgi. It is easy to write the calculations in javascript, but it is even easier to 'submit' the form with a price that is more in my favor :-). If you want to do it on the form _and_ in the cgi, let us know. The critical factor is how to make the pricing info available to both javascript and the cgi. If they come up with different answers, your customer will be very unhappy! Roger, Roger Roelofs Datacomp Appraisal Services
- References:
- Prev by Date: [Javascript] Is this form control by Javascript
- Next by Date: [Javascript] Import file
- Previous by thread: [Javascript] Is this form control by Javascript
- Index(es):