• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: User Registration Validation Rule for usernames

User Registration Validation Rule for usernames 3 years 8 months ago #40337

  • admin656
  • admin656's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello,
How can I make the space character an invalid entry to prevent users from adding a space while creating usernames.
Thanks
The administrator has disabled public write access.

User Registration Validation Rule for usernames 3 years 8 months ago #40343

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

The user registration integration works on the same Joomla! framework and spaces are normally allowed for usernames.

Nevertheless, you can create your own custom validation rule to check for spaces and apply it on your username field, use the $invalid method to invalidate your field within "Scripts Called On Form Process" area if spaces are found, or use the Regex validation rule.
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!