Hello, I am new to magento forum.
I have a question about HTML error in magento file.
I have to remove all errors to install speed up extension.
I tried W3C validation service and the site showed the following message;
Bad value for attribute action on element from Must be non-empty.
<form action="" method="POST" id="product_addtocart_form_from_popup">
I found this code is in popup.phtml, and it is not in my theme's file.
How can I fix it?
Solved! Go to Solution.
Here's an explanation what can be inside from action attribute:
It definitely can't be empty, even though pretty much all browsers use current script as a failover.
Thank you for your answer.
I understand what kind of code should be added.
And don't you know what code I should add?
I couldn't figure it out by searching magento information on the web.
Isn't popup.phtml magento original file?
Now that I think about it, I'm pretty sure some JS script will set the action for this form. Meanwhile to get rid of validator nagging just put # there (action="#").