frontpage changes code

S

Steven

When I paste a code like
<input type="hidden" name="add" value="1">
And I already have that code on another part of that page, frontpage
automatically adds a "0" to the code like this and it doesn't work.
<input type="hidden" name="add0" value="1">

Is there a way to stop this. I am constantly adding and changing this code.
And sometime miss taking out the "0" which cause the code not to work.
 
S

Steven

I wasn't clear in my description. This is happening in design mode. I try to
copy a Paypal button and all the code. Than make another paypal button by
pasting the button in the place in the table that I would like it in design
mode, FrontPage adds the "0"
Like this
<input type="hidden" name="cmd0" value="_cart">
<input type="hidden" name="business0" value="abcdefg">
<input type="hidden" name="item_name0" value="Size water Jacket">
<input type="hidden" name="item_number0" value="1234">
<input type="hidden" name="amount0" value="$1.99">

Jens Peter Karlsen said:
I can't replicate this in Frontpage 2003.
Are you using an old version of Frontpage?

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Steven [mailto:[email protected]]
Posted At: 9. marts 2005 18:19
Posted To: microsoft.public.frontpage.client
Conversation: frontpage changes code
Subject: frontpage changes code


When I paste a code like
<input type="hidden" name="add" value="1"> And I already have
that code on another part of that page, frontpage
automatically adds a "0" to the code like this and it doesn't work.
<input type="hidden" name="add0" value="1">

Is there a way to stop this. I am constantly adding and
changing this code.
And sometime miss taking out the "0" which cause the code not to work.
 
T

Thomas A. Rowe

Make sure each PayPal form has a unique name, then the field name will not be consider to be
duplicates and get renamed.

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

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


Steven said:
I wasn't clear in my description. This is happening in design mode. I try to
copy a Paypal button and all the code. Than make another paypal button by
pasting the button in the place in the table that I would like it in design
mode, FrontPage adds the "0"
Like this
<input type="hidden" name="cmd0" value="_cart">
<input type="hidden" name="business0" value="abcdefg">
<input type="hidden" name="item_name0" value="Size water Jacket">
<input type="hidden" name="item_number0" value="1234">
<input type="hidden" name="amount0" value="$1.99">

Jens Peter Karlsen said:
I can't replicate this in Frontpage 2003.
Are you using an old version of Frontpage?

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Steven [mailto:[email protected]]
Posted At: 9. marts 2005 18:19
Posted To: microsoft.public.frontpage.client
Conversation: frontpage changes code
Subject: frontpage changes code


When I paste a code like
<input type="hidden" name="add" value="1"> And I already have
that code on another part of that page, frontpage
automatically adds a "0" to the code like this and it doesn't work.
<input type="hidden" name="add0" value="1">

Is there a way to stop this. I am constantly adding and
changing this code.
And sometime miss taking out the "0" which cause the code not to work.
 
S

Stefan B Rusynko

This is replicable in FP 2003 when you have 2 fields w/ same name
- FP will rename the second one as it is an illegal construct



|I can't replicate this in Frontpage 2003.
| Are you using an old version of Frontpage?
|
| Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
|
| > -----Original Message-----
| > From: Steven [mailto:[email protected]]
| > Posted At: 9. marts 2005 18:19
| > Posted To: microsoft.public.frontpage.client
| > Conversation: frontpage changes code
| > Subject: frontpage changes code
| >
| >
| > When I paste a code like
| > <input type="hidden" name="add" value="1"> And I already have
| > that code on another part of that page, frontpage
| > automatically adds a "0" to the code like this and it doesn't work.
| > <input type="hidden" name="add0" value="1">
| >
| > Is there a way to stop this. I am constantly adding and
| > changing this code.
| > And sometime miss taking out the "0" which cause the code not to work.
| >
| >
| > --
| > Steven Vaccaro
| > OffshoreElectrics.com
| >
|
 
S

Steven

Its a payment button. If I try to change the name field than the button will
no longer work with paypal.
 
S

Stefan B Rusynko

See T Rowe's post




| Its a payment button. If I try to change the name field than the button will
| no longer work with paypal.
|
| "Stefan B Rusynko" wrote:
|
| > This is replicable in FP 2003 when you have 2 fields w/ same name
| > - FP will rename the second one as it is an illegal construct
| > --
| >
| > _____________________________________________
| > 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.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > |I can't replicate this in Frontpage 2003.
| > | Are you using an old version of Frontpage?
| > |
| > | Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| > |
| > | > -----Original Message-----
| > | > From: Steven [mailto:[email protected]]
| > | > Posted At: 9. marts 2005 18:19
| > | > Posted To: microsoft.public.frontpage.client
| > | > Conversation: frontpage changes code
| > | > Subject: frontpage changes code
| > | >
| > | >
| > | > When I paste a code like
| > | > <input type="hidden" name="add" value="1"> And I already have
| > | > that code on another part of that page, frontpage
| > | > automatically adds a "0" to the code like this and it doesn't work.
| > | > <input type="hidden" name="add0" value="1">
| > | >
| > | > Is there a way to stop this. I am constantly adding and
| > | > changing this code.
| > | > And sometime miss taking out the "0" which cause the code not to work.
| > | >
| > | >
| > | > --
| > | > Steven Vaccaro
| > | > OffshoreElectrics.com
| > | >
| > |
| >
| >
| >
 
Top