-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Html validation Error Bad value for attribute action on form #1006
Comments
@AJDesigns Thanks for the report. Noting that the HTML5 spec doesn't appear to explicitly require an
@jaswsinc Is this expected behavior? |
I think in HTML 4 specifying the action is not required so the following is valid:
But in HTML 4 this is not valid:
I believe the opposite is true in HTML5 In HTML5 the following is valid: But the next two are not valid:
|
@jaswsinc Still awaiting your feedback here. |
Yes, that's a bug. |
Next Release Changelog:
|
s2Member v161129 has been released and includes changes from this GitHub Issue. See the v161129 announcement for further details. This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#1006). |
EXPLANATION OF THE ISSUE
Version 160801 + s2Member Pro v160801
The [s2Member-List ] Shortcode with search attribute turned on creates invalid html: (EMPTY form action)
Here is the top of the form output when using the search members attribute with a member list shortcode:
## STEPS TO REPRODUCE THE ISSUECreate a member list with search enabled and check the form action field with an HTML validator
This code is not adding an action to the form:
" method="get" autocomplete="off"> ## BEHAVIOR THAT I EXPECTEDValid HTML
BEHAVIOR THAT I OBSERVED
The text was updated successfully, but these errors were encountered: