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.059 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started