SimpleAja
-
Posts
2 -
Joined
-
Last visited
Posts posted by SimpleAja
-
-
Hi there,
Please help me about using input rules in Universal Modules. I want to apply validation that can be typed in the text and password form fields.
- Validate text input field for hostname. Allowing only letter and number with a maximum length of 24 character
- Validate input type password for password. That must consists one lower case letter, one upper case letter, one digit, 10-24 length, allow special character like !@#$%^&*()+_-= but space not allowed.
When I use WHMCS billing system, I was able to make input validation for additional form fields. By learning regex tutorial that is widely available on the internet. Also I can simulate on this website: https://www.regextester.com to testing the regex.
Thanks
Help About Input Rules for Text and Password Fileds
in Support
Posted
Not working in blesta with the following regex:
"rule":["matches", "/((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\W_]).{6,18})/i"],
requires at least 1 lower case character, 1 upper case character, 1 number, 1 special character. length between 6 and 18 character.
But it works when tried through Regex testing https://www.regextester.com/