Jump to content

Invalid Markup - Duplicate Attribute


derNister

Recommended Posts

Hello,

 

I'm trying to add an additional paypal payments standard button to a page on my site and I'm getting an invalid markup - duplicate attribute on the <form attr. I don't see the redundancy. Also, I tried copy/paste an existing button to a new location on the page and get the error too. Using Dreamweaver CS4. Here's the code:

 

<p><span class="calibri22Ft">T-Bucker $99 USD + Shipping </span>(click for <a href="internationalShipping.html">international shipping</a> information) <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">

<input type="hidden" name="cmd" value="_s-xclick">

<input type="hidden" name="hosted_button_id" value="4UDZLJ5SKXTXU">

<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

</form>

</p>

 

I can't imagine this is of importance, but I'm on a new computer, running Windows 7. My View cart button in Chrome doesn't display on this machine either.

 

Thanks in advance

Link to comment
Share on other sites

Can we see all the code on the entire page? A link would be ideal.

 

Sorry, I'm still a bit of a neophyte. How can I provide a link to the new code on my hard drive? The live page is up without it here: http://www.zexcoil.com/T_BridgePickups.html

 

The new code is inserted right above the heading "Vintage Series".

 

Please let me know if there is another way to get you the page with the problem or perhaps I can move it to the server renamed?

Link to comment
Share on other sites

I'm not getting the error you mentioned: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.zexcoil.com%2FT_BridgePickups.html - did you maybe already fix it?

 

I do see a View Cart button in Chrome - at the top just under the twitter bird.

 

Btw - providing a link to a site online is perfect, that way we see exactly what you have. It's not possible to give us a link that would get us to your computer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...