Making Calculations Field Hidden

K

KKXC

I created an order form with a calculator built into the form. I want to make
these fields hidden so that users cannot change the price in the field. For
example, item 1 cost 10.00. A user would choose item 1, qty=10,
subtotal=100.00. The calculator takes the subtotal, tax, shipping charges and
adds them all up. And then the form can be submitted by hitting the submit
button. However, since subtotal, tax and shipping are all form fields, a user
can change those fields before hitting submit and the incorrect totals will
come thru on the confirmation page and email. I would like to make it hidden
so that only the correct info will be submitted.

Thanks.
 
S

Stefan B Rusynko

In the calculated field tags add
onClick="this.blur()"
and make sure they are not in your tab sequence

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I created an order form with a calculator built into the form. I want to make
| these fields hidden so that users cannot change the price in the field. For
| example, item 1 cost 10.00. A user would choose item 1, qty=10,
| subtotal=100.00. The calculator takes the subtotal, tax, shipping charges and
| adds them all up. And then the form can be submitted by hitting the submit
| button. However, since subtotal, tax and shipping are all form fields, a user
| can change those fields before hitting submit and the incorrect totals will
| come thru on the confirmation page and email. I would like to make it hidden
| so that only the correct info will be submitted.
|
| Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top