Html validation Error Bad value for attribute action on form #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 ISSUE
Create 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 EXPECTED
BEHAVIOR THAT I OBSERVED
The text was updated successfully, but these errors were encountered:
@AJDesigns Thanks for the report.
@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:
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).