Timeline for Joomla 4.3.X Validate a username on registration to NOT contain an @ symbol (notEmail)
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 9, 2023 at 5:15 | comment | added | Sharky |
@OnTarget Do not follow this advice. Editing layout only adds client-side validation which can be easily circumvented. You need to write a plugin that alters the form definition using onContentPrepareForm event.
|
|
May 8, 2023 at 21:05 | comment | added | Riccardo Zorn | I added the info under Registration Form | |
May 8, 2023 at 21:05 | history | edited | Riccardo Zorn | CC BY-SA 4.0 |
added clarifications
|
May 8, 2023 at 7:47 | vote | accept | OnTarget | ||
May 5, 2023 at 9:33 | comment | added | OnTarget | Thanks for your reply and advice, I will try your suggestions! For the registration form should i be editing /components/com_users/tmpl/registration/default.php (but move it to my template/html/ directory as an override?) The form fields are being loaded here via a loop so cant be edited directly? Looking at /components/com_users/forms/registration.xml allows me to edit the fields e.g <field name="username" type="text" but IDK if that is a) correct b) overridable in my template. Thanks for any further pointers | |
May 5, 2023 at 8:33 | history | answered | Riccardo Zorn | CC BY-SA 4.0 |