Welcome, Guest
Username: Password: Remember me

TOPIC: [HOW TO] Custom RegEx Validation

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
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 help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Moved to own topic here
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 25 Sep 2012 15:04 by JoomGuy.
The administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.122 seconds

Get Started