Title: Validation error
Last modified: August 21, 2016

---

# Validation error

 *  Resolved [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-25/)
 * Hi everybody,
    Thanks for this great plugin! I have 1 validation error however.“
   Bad value for attribute action on element form: Must be non-empty. <form action
   =”” method=”post” class=”s2w-form”>”
 * I assume that is in the widget.output.php.
    The actual line is: `<form action
   ="<?php echo $postPermalink; ?>" method="post" class="s2w-form">` It is on line
   161. What can I change to get rid of this error?
 * Johanna
 * [https://wordpress.org/plugins/subscribe2-widget-pro/](https://wordpress.org/plugins/subscribe2-widget-pro/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097876)
 * Hey I’m glad you like the plugin. This is a JS error you are seeing? Do you have
   a link that I can see first hand?
 *  Thread Starter [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097877)
 * I don’t think it is a js error.
    Here is my website: [http://www.secretsistersblog.com](http://www.secretsistersblog.com)
   The weird thing is, that on my other blogs it validates fine, so I have no clue
   why it doesn’t on this one.
 * Johanna
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097897)
 * I just took a look at your blog and it looked like it was working fine in the
   sidebar. Where specifically are you seeing that error? A screenshot would be 
   most helpful or anymore detail. Thanks!
 *  Thread Starter [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097898)
 * You can’t see it on my website.
    It is a validation error. Here it is: [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.secretsistersblog.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices#line-310](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.secretsistersblog.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices#line-310)
 * The third error.
 * Johanna
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097899)
 * Oh that’s what you are talking about… W3C validator. I see. Well, to be honest
   that’s not really a priority for the plugin. I find this ‘validation’ to be often
   irrelavant and outdated. See: [http://zurb.com/article/1260/we-ve-moved-beyond-code-validators](http://zurb.com/article/1260/we-ve-moved-beyond-code-validators)
   for some reasons why. I’m not sure why this site isn’t playing nicely while others
   you have used this plugin on work out just fine. Bottom line, not really an issue
   I’m willing to support. Sorry!
 *  Thread Starter [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097949)
 * I am sorry to hear this, but then it isn’t resolved!
 * Johanna
 *  Thread Starter [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097950)
 * BTW what exactly does this line do: <form action=”<?php echo $postPermalink; ?
   >” method=”post” class=”s2w-form”> ?
    Because when I change it to: <form action
   =”<#” method=”post” class=”s2w-form”> the validation error disappears. Or does
   that mean the form isn’t working then anymore? I can’t test it since the confirmations
   emails are not being send. I send you an email about that.
 * And I disagree about validation. It won’t change everything, but I think it is
   important. Here are some pages that say so too:
    [http://validator.w3.org/docs/why.html](http://validator.w3.org/docs/why.html)
   [http://www.htmlvalidator.com/htmlval/whyvalidate.html](http://www.htmlvalidator.com/htmlval/whyvalidate.html)
   [http://www.thesitewizard.com/webdesign/htmlvalidation.shtml](http://www.thesitewizard.com/webdesign/htmlvalidation.shtml)
   [http://webdesign.about.com/od/htmlvalidators/a/aa092799.htm](http://webdesign.about.com/od/htmlvalidators/a/aa092799.htm)
   [http://www.slideshare.net/bashenan/web-topic-11-importance-of-html-validation](http://www.slideshare.net/bashenan/web-topic-11-importance-of-html-validation)
 * Johanna

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Validation error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subscribe2-widget-pro_e8f0f9.svg)
 * [Subscribe2 Widget Pro](https://wordpress.org/plugins/subscribe2-widget-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2-widget-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2-widget-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2-widget-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2-widget-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2-widget-pro/reviews/)

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 7 replies
 * 2 participants
 * Last reply from: [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/validation-error-25/#post-5097950)
 * Status: resolved