User tests: Successful: Unsuccessful:
Pull Request for Issue #20789.
Declares variable using var
to limit its scope and prevent overwriting function.
Add pattern attribute to some form field.
E.g. pattern="[A-Za-z\s0-9]+"
to name
field in components\com_users\models\forms\registration.xml
,
Try to register with name containing invalid characters.
Form not submitted with error:
Invalid field: Name
Browser's validation tooltip is shown and we get JS error:
TypeError: isValid is not a function
No.
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
Rel_Number | ⇒ | 20789 | |
Relation Type | ⇒ | Pull Request for | |
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-26 12:37:21 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Thanks
I have tested this item✅ successfully on 7eca2d6
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28996.