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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started