Paypal shopping cart fields rewriten by FP 2003

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

Guest

I am adding Paypal shopping cart buttons into FP 2003. FP rewrites the field
names on three fields each time the page is opened.

At Paypal's suggestion, I have turned off the "make id unique on paste"
feature. It does not seem to have helped.

The only thing I can do is run a find and replace on the three fields,
eliminating all numbers following the field names, but I have to do this as
the last thing before publishing, and I have to do it each time I open a page.

The fields are cmd, business, and page_style.

Has anyone come up with an alternative to this?
 
Are you assigning a Unique name to each form (PayPal Button Code)?

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
FrontPage will only change field names if that name has already been used in
the same form.

As Thomas said, make sure all your forms on the page have unique names, and
every field in a form must also have a unique name.

HTML element IDs *must* be unique on a page, so changing the "use unique ID"
setting may result in a page that does not work.
 
The form code for each button didn't have a name attribute, so the form code
was identical on each button. If I add a name="uniqueName" attribute in the
form tag for each form, will that keep it from messing with the field names
in the form?

Thanks for the help!
 
That should work.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
I entered a name in each form tag, one for each button. This seemed to work
fine -

UNTIL

I made a change to the dynamic template, and saved it. When I did that, it
went back through every single one of the buttons (over 200) and added the
numbers back in to those 3 fields!

So I checked the template, which has the navigation bar. Those three fields
are in a button to view the shopping cart, which I had placed in the
navigation bar. BUT - I had given that form a name. So I don't know why it
was confused.

I deleted the "view cart" button/form from the template. I deleted all the
"cmd" field numbers and tested saving the template. It did not change the
fields. So far, it's working.

Thanks for the help!
 

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

Back
Top