WordPress.org

Forums

Subscribe2 Widget Pro
[resolved] Validation error (8 posts)

  1. johanna2patricia
    Member
    Posted 10 months ago #

    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/

  2. Devin Walker
    Member
    Plugin Author

    Posted 10 months ago #

    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?

  3. johanna2patricia
    Member
    Posted 10 months ago #

    I don't think it is a js error.
    Here is my website: 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

  4. Devin Walker
    Member
    Plugin Author

    Posted 10 months ago #

    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!

  5. johanna2patricia
    Member
    Posted 10 months ago #

  6. Devin Walker
    Member
    Plugin Author

    Posted 10 months ago #

    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 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!

  7. johanna2patricia
    Member
    Posted 9 months ago #

    I am sorry to hear this, but then it isn't resolved!

    Johanna

  8. johanna2patricia
    Member
    Posted 9 months ago #

    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://www.htmlvalidator.com/htmlval/whyvalidate.html
    http://www.thesitewizard.com/webdesign/htmlvalidation.shtml
    http://webdesign.about.com/od/htmlvalidators/a/aa092799.htm
    http://www.slideshare.net/bashenan/web-topic-11-importance-of-html-validation

    Johanna

Reply

You must log in to post.

About this Plugin

  • Subscribe2 Widget Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic