No Code Attached Yet
avatar iteidrm
10 Jun 2022

Steps to reproduce the issue

Either create a new contact entry with a mail form or activate user registration in the user options.

Leave the fields empty and submit either form.

Expected result

Client-side form validation should kick in and prevent the form from being submitted.

Actual result

The submission of the form(s) is intercepted by the browsers interpretion of the validation instead. If you add the "novalidate" attribute to the form tag in the HTML Markup (Browsser: F12) and submit them again, the client-side validation won't prevent the form from being submitted (.preventDefault()).

System information (as much as possible)

Joomla! 4.1.4
PHP 8.1

Additional comments

According to my research, the problem was first mentioned in the forum by HSorgYves in mid-February this year. While his proposed solution from one of those posts seems to fix one "symptom", it has some side effects in other areas (e.g. backend login, edit forms, aso).

avatar iteidrm iteidrm - open - 10 Jun 2022
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jun 2022

Add a Comment

Login with GitHub to post a comment