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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started