How to Prevent Automatic Script Numbering?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
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.
 
Back
Top