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

TOPIC:

Custom Regular Regular Expression Validation 30 May 2016 14:07 #14013

Hi Chef

It would be nice to have a custom expression to allow a certain number of asci characters.

For example - I need an input to allow 4 characters. The regex would be "/w/w/w/w"

(the size fields don't seem to do this).

Cheers
Just call me Chris :)

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

Custom Regular Regular Expression Validation 30 May 2016 17:38 #14014

That is a regex for exactly 4 word character, not max 4.

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

Custom Regular Regular Expression Validation 07 Jun 2016 14:23 #14029

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
At the moment, I blocked the custom regular expressions, because they can inject errors, fatals, and security failure. At least for the sandbox.
I tried to escape them as usual for every data inserted, but it is too difficult.

BUT, I am going to create something nice for that part. It is in the roadmap. Can't tell you more.
Stay tuned.
Coding is now a piece of cake
The following user(s) said Thank You: organicwebs

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

  • Page:
  • 1
Time to create page: 0.056 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