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

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started