Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • JoomGuy
  • JoomGuy's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Last edit: by admin.

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

  • JoomGuy
  • JoomGuy's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Last edit: by JoomGuy.
  • Page:
  • 1
Time to create page: 0.054 seconds

I'm playing around with the new mvc and the FORK feature is FANTASTIC!!! it's saving me a lot of time! you are doing a very good job!!

Tomaselli (Forum)  

Get Started