Welcome, Guest
Username: Password: Remember me

TOPIC: [HOW TO] Custom RegEx Validation

[HOW TO] Custom RegEx Validation 22 Sep 2012 15:37 #3849

  • audibleid
  • audibleid's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 68
SCENARIO
You want to validate user input on one of your fields but there's NO Regular Expression (RegEx) built in to COOK to suit your needs
SO HOW DO YOU ADD YOUR OWN? Thanks to COOK, it's SIMPLE!!!
  1. In the Tables tab of the builder, click on the Properties for your chosen field
  2. In the Validator section of the popup, click select Custom
  3. Give your new validation rule a descriptive & unique name (NO SPACES OR SPECIAL CHARS RECOMMENDED)
  4. Type or paste your Regular Expression into the Regular exp. field
That's it!
Need assistance in the forums? Please start here before posting. **If someone goes to the trouble of providing you with a solution to a problem, please at least have the decency to reply and say thank you!

Need help with your Cook/Joomla Project??? Feel free to ask for my assistance on my Facebook...
Last Edit: 03 Oct 2012 13:38 by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: admin

NUMBER RANGES - No leading Zero 23 Sep 2012 09:04 #3874

  • audibleid
  • audibleid's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 68
Moved to own topic here
Need assistance in the forums? Please start here before posting. **If someone goes to the trouble of providing you with a solution to a problem, please at least have the decency to reply and say thank you!

Need help with your Cook/Joomla Project??? Feel free to ask for my assistance on my Facebook...
Last Edit: 25 Sep 2012 15:04 by audibleid.
The administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.082 seconds

Get Started