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

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started