Form field names auto-incrementing

J

Joanne

Hi, I'm using FP 2003. I develop eCommerce sites and to
add products to a cart we are using forms. We may have
multiple forms on the same page. If I copy and past one
form, it will auto-increment the form field names (form
field name aqty becomes aqty0, aqty1, aqty2, etc.).
However, the eCommerce code expects the variable names to
be specific. Is there a way to turn this feature off? I
spend a lot of time debugging problems because of this
issue.

Thanks!

Joanne
 
T

Thomas A. Rowe

Copy the form in HTML / Code View and make sure that you give each form a unique name.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
S

Stefan B Rusynko

Tools Page Options General - unselect Make Id Unique on Paste may stop the renaming
- but I don't recommend setting it or you may forget to rename a field and have a broken form




| Copy the form in HTML / Code View and make sure that you give each form a unique name.
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| | > Hi, I'm using FP 2003. I develop eCommerce sites and to
| > add products to a cart we are using forms. We may have
| > multiple forms on the same page. If I copy and past one
| > form, it will auto-increment the form field names (form
| > field name aqty becomes aqty0, aqty1, aqty2, etc.).
| > However, the eCommerce code expects the variable names to
| > be specific. Is there a way to turn this feature off? I
| > spend a lot of time debugging problems because of this
| > issue.
| >
| > Thanks!
| >
| > Joanne
|
|
 
Top