In Custom Fields there are fields that could actually be solved by a simple text-input field with validation options.
That are:
E-Mail
Telephone
URL
If we don´t exchange this fields NOW with a validation process we will have to keep them because of B/C breaks. And IMHO this fields are "cluttering" the fieldoptions and make a bad UX.
Labels |
Added:
?
|
Maybe we should consider a language change then for the errors."Invalid field" says nothing in that case ;)
Email, tel and url fields can not just be replaced by a simple text input field. They are particularly important for UX on mobile devices, as they enable custom keyboard layouts tailored to the specific input types.
I do agree on your sentiment regarding validation. IMO the Telephone field should not be validated by default, validation should be actively enabled by the site builder with a pattern of their choosing.
data-required-error="This field must be empty"
data-pattern-error="Please only use only alphabetic characters and numbers"
what about adding support for the above to Joomla's validate.js ?
What is the status here? Will custom validation be possible with custom error messages?
Category | ⇒ | com_fields |
Priority | Medium | ⇒ | Urgent |
Status | New | ⇒ | Confirmed |
Title |
|
Title |
|
Title |
|
Priority | Urgent | ⇒ | Medium |
Status | Confirmed | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Please retag this for J4
Title |
|
Labels |
Added:
J4 Issue
Removed: J3 Issue |
Labels |
Added:
?
No Code Attached Yet
Removed: ? |
@coolcat-creations we can start use patterns for validation, #13094. This way every custom field could have a specific validator.
With the current validation this is impossible, unless we modify the script...