TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Expression > Microsoft Expression Web Designer

Notices

Reply
 
Thread Tools Display Modes
Old 26-06-2008, 08:56 PM   #1
Michael B. Vederman
Guest
 
Posts: n/a
Input name keeps changing

I have a website, i've pasted in FORMs from PayPal to add an item to a cart
and view an item.

Altho this issue doesn't occur every time, it is enough times for me to
consider it a bug.

The form input NAME changes from cmd to cmd0 or cmd1, another input changes
from business to business0 or business1.

This automagic change renders the form useless. How do I get xWeb to stop
trying to be so smart? Cause it's not, it's pretty dumb in thinking it knows
what it should be.

Each form is intended to inform the remote machine of information, not the
browser, so why would it think it needs to change a form input name?

Wanna see for yourself the code I'm speaking of?
http://www.isurviveonline.com/products/Deluxe.htm

It's currently fixed, I editted by hand and uploaded via "Publish". This
time it is clean, some time in the future, however, i'm gonna edit something
and it's gonna mess it up again.

Without the form working correctly, I can't take orders! Do I have to check
every time? I think this may be happening when I join a master template to
the page.

Can I stop xWeb from trying to be so 'smart' that it is really 'dumb'?
  Reply With Quote
Old 26-06-2008, 08:56 PM   #2
Christoph Schneegans
Guest
 
Posts: n/a
Re: Input name keeps changing

Michael B. Vederman wrote:

> The form input NAME changes from cmd to cmd0 or cmd1, another input
> changes from business to business0 or business1.


Go to "Tools > Page Editor Options... > General" and disable "Make
ID Unique on Paste". xWeb is correct to ensure that "id" attributes
have unique values. However, it is wrong to apply this rule to
"name" attributes. Having several elements with the same "name"
attribute is perfectly valid.

--
<http://schneegans.de/sv/> ยท XML Schema Validator

  Reply With Quote
Reply

Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 01:39 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional