How to Prevent Automatic Script Numbering?

R

rllinny

I have an add-in program that uses javascripts for a store. If I create a
multiple product page in frontpage 2003, the program is automatically
numbering each additional script with the next consecutive number. This
causes the script to change from "product", "quantity". etc to "product1"
"product2" and "quantity1" and "quantity2" etc. The when the script tries to
run, the additioanl numbers are interefering with the inventory checking and
saying product not available. Right now I am solving the problem by manually
editting out the new code elements but I would like to find a way to turn
this off. Any ideas on how to fix. This problem just appeared after
upgrading to 2003 so it must be a new function with 2003.
 
S

Stefan B Rusynko

You scripts or form fields can not have the same ids or field names
(unless each one is in a separate form)

--

_____________________________________________
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 have an add-in program that uses javascripts for a store. If I create a
| multiple product page in frontpage 2003, the program is automatically
| numbering each additional script with the next consecutive number. This
| causes the script to change from "product", "quantity". etc to "product1"
| "product2" and "quantity1" and "quantity2" etc. The when the script tries to
| run, the additioanl numbers are interefering with the inventory checking and
| saying product not available. Right now I am solving the problem by manually
| editting out the new code elements but I would like to find a way to turn
| this off. Any ideas on how to fix. This problem just appeared after
| upgrading to 2003 so it must be a new function with 2003.
 
R

rllinny

Hi
Thanks, I have each scipt contained within its own form, and before the
automatic renumbering occurred, my multiple product pages were working
without incident. I don't know why they began re-numbering within the script
but it started after I upgraded to Frontpage 2003.
 

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