Title: Validation error
Last modified: August 30, 2016

---

# Validation error

 *  Resolved [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/validation-error-35/)
 * There is no form action for `.wp-cart-button-form`:
 *     ```
       <form
       method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);" >
       ```
   
 * [According to specification](http://www.w3.org/TR/html5/forms.html#attr-fs-action)
   it must have a value so there must be at least hash (number) sign “#”.
 * It’s a minor problem, but it should be corrected in future versions
 * [https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/)

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6231836)
 * Hi maxoud, thank you for reporting this. One of the plugin developers will assess
   your finding further.
 * Regards
 *  Plugin Author [mra13](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6231951)
 * We will look into this.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232040)
 * [@maxoud](https://wordpress.org/support/users/maxoud/) is your issue resolved?
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232041)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/) As of the date
   of the version 4.1.7 it’s not resolved.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232042)
 * Hi, can you check the following [documentation](https://www.tipsandtricks-hq.com/ecommerce/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426).
   Let me know if this helps you.
 * Thank you
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232043)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/), thank you, 
   but that documentation is on the wrong topic.
 * [Here is StackOverflow question](http://stackoverflow.com/q/7948428/577418) on
   the same topic I mention and [here is the solution](http://stackoverflow.com/q/32491347/577418)
   if you have problems with non-empty form action.
 * It’s not a big problem but it’s the only validation error shows up on my pages(
   and not only my). Validator error is:
    `Bad value for attribute action on element
   form: Must be non-empty.`
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232044)
 * Sorry, you are correct. I don’t know what I was thinking when I read this thread.
   My mind was somewhere else.
 * The plugin developers will research your issue further.
 * Thank you
 *  Plugin Author [mra13](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232045)
 * Hi, You can ignore this validation warning that you are getting. HTML5 is still
   in an experimental stage. We can’t make changes to the plugin that may not work
   on some older browsers. Our main priority is to make sure the plugin works on
   a wider browser base. We would rather have it work everywhere than be picky about
   minor things (that we know for sure won’t cause any issue).
 * In the future when HTML5 becomes the base thats when you can validate against
   HTML5 and expect no warnings.
 *  Thread Starter [maxoud](https://wordpress.org/support/users/maxoud/)
 * (@maxoud)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232046)
 * [@mra13](https://wordpress.org/support/users/mra13/) I don’t want to generate
   controversy but despite of HTML5 [here is](https://www.w3.org/TR/html401/interact/forms.html#adef-action)`
   action` attribute definition from 16 years old W3C recommendation for HTML 4.1:
 * > action = **_uri_**
   >  This attribute specifies a form processing agent. **User
   > agent behavior for a value other than an HTTP URI is undefined**.
 * Empty `action` is not a valid URI so you can’t be sure what’s the action will
   be assigned by UA. While HTML 4.1 covers pretty wide browser range.

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

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

 * ![](https://ps.w.org/wordpress-simple-paypal-shopping-cart/assets/icon-128x128.
   png?rev=2722490)
 * [Simple Shopping Cart](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [maxoud](https://wordpress.org/support/users/maxoud/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/validation-error-35/#post-6232046)
 * Status: resolved