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

TOPIC:

Regex validations 25 Jun 2013 11:03 #7643

I'm not an expert of regex, but It seems to me the regex validation pattern for the decimals should be reviewed.

for example the decimal10,2 by default from the builder is:

^d{0,8}(.d{0,2})?$

but it's wrong, it should be:

^\d{0,8}(\.\d{0,2})?$

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

Regex validations 08 Jul 2013 22:52 #7916

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I think it is fixed now.

During the migration I have lost the '\' of the regex. I had to check them all, but I am not expert in that.

@All users : Cook furnish you some Regex as examples.

To try again, you must unset the validator, and set it again (in the field properties)
Coding is now a piece of cake
The following user(s) said Thank You: Tomaselli

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

Regex validations 08 Jul 2013 23:50 #7921

yes, it is fixed now, :) thanks

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

  • Page:
  • 1
Time to create page: 0.109 seconds

This Component Generator is the REAL component generator. This tool is very easy to use and in a matter of minutes I was building a fully working extension. I was amazed with the end result... worth every cent...
Griiettner (JED)

         

Get Started