You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The comment form has a novalidate attribute to force server-side validation of the fields. This is done to bypass HTML5 client-side form validation, since it used to be that the validation was not reliable across browsers. Even so, novalidate remains. So at the moment someone could enter a comment but then leave the Name or Email empty, and submit the comment while offline. Once the user is back online, background sync will try to submit the comment but it will be rejected by WordPress due to not having a name or email.
So the PWA plugin should remove the novalidate attribute from the comment form as I suggested in TRAC-47595.
The text was updated successfully, but these errors were encountered:
The comment form has a
novalidate
attribute to force server-side validation of the fields. This is done to bypass HTML5 client-side form validation, since it used to be that the validation was not reliable across browsers. Even so,novalidate
remains. So at the moment someone could enter a comment but then leave the Name or Email empty, and submit the comment while offline. Once the user is back online, background sync will try to submit the comment but it will be rejected by WordPress due to not having a name or email.So the PWA plugin should remove the
novalidate
attribute from the comment form as I suggested in TRAC-47595.The text was updated successfully, but these errors were encountered: