Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Invalid hidden input on forms
 
TravelSize_ie
Member
 
Total Posts:  39
Joined:  2009-10-19
 

There’s an input element being added to forms which doesn’t validate under W3C because it’s not inside a div/fieldset.
It looks like it’s being used to hold a session id or something.

e.g. if you look at your newsletter signup, the HTML has:

<form action="http://www.travelsize.ie/newsletter/subscriber/new/" method="post" id="newsletter-validate-detail"><input type="hidden" name="frontend" value="376bf.................9a" />
        <
div class="block-content">

This input isn’t in newsletter/subscribe.phtml, so it must be something that’s getting added by some javascript somewhere.
It’s bugging me a bit that I’m going to have invalid HTML on every form if it’s something I can change simply.

Anyone know where this is being done?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top