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

Hi All just wanted to add one more "thank you" voice to all those who discovered the value of this amazing application. The website I was working on went to production few days ago and I do not want to even try to imagine what would it take to build it without j-cook. So - endless thanks keep it running and evolving I believe it deserves to be the core tool for any joomla application! Thanks!
Michael (bmk028 - Forum)  

Get Started