![]() |
|
|
#1 |
|
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'? |
|
|
|
#2 |
|
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 |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|