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

TOPIC: [CLOSED] Tons of numeric validation errors

Tons of numeric validation errors 16 Jan 2017 22:04 #14945

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
This is the JS code you should find in the outputed HTML. It is located in the header of the document.
jQuery.validationEngineLanguage.allRules.numeric_4684 = {
"regex" : /^([0-9]|-)?([0-9]|,)*.?[0-9]*$/,
"alertText" : '<span class="msg-prefix">• </span>Incorrect value'
};

jQuery.validationEngineLanguage.allRules.ckemail = {
"regex" : /^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+.)+[a-zA-Z0-9.-]{2,4}$/,
"alertText" : '<span class="msg-prefix">• </span>Incorrect value'
};

The numeric rule has a 4 digits random number suffix. It would be long to explain it is the best idea I found to make it working with the formvalidator class.

This JS is produced by the validator helper :
helpers/html/validator.php

Based on the rules (php classes), located in :
models/rules/...

I cannot reproduce this issue, even in 3.0.10, so this is for helping you to debug. It is strange that this is happening to both of you...
Can I ask to both of you the generator version you are using. And also a PTL (Project / Table / Layout) where it happens.
With the project name, I can see wich config you are using. (Many generator parameters)
Did you tried in fresh without fork ?

Please migrate on, because 3.0.10 has limitations for Multi filter and cannot handle the new features. The 3.1 version continue to work same as before. Why did you chosen to stay back ? Is there a problem with the forks ?
It should upgrade without problem I think.

Sorry for this problem, and thank you for your patience, you help me to debug the things I cannot trigger myself.
Coding is now a piece of cake
The administrator has disabled public write access.

Tons of numeric validation errors 09 Mar 2017 18:34 #15031

  • netamity
  • netamity's Avatar
  • Offline
  • New Member
  • Posts: 10
  • Karma: 0
Can I just chime and say that I have:

jqv:custom rule not found - numeric_3218
jqv:custom rule not found - numeric_5505
jqv:custom rule not found - numeric_1906

My component is FULL of these types of validation errors and nothing I can do gets rid of them. If you're able to access my component in the builder it's com_ibgl and you can chose pretty much any back end form and hit 'save' to see an error coming up. Could it be the ordering wizard that others have mentioned? Seems buggy if that's what it is :/

What to do?

Regards
Andy
The administrator has disabled public write access.

Tons of numeric validation errors 13 Mar 2017 17:55 #15038

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Sorry, I forgot to test in "Exploded Forms"

Fixed now for sure...
Coding is now a piece of cake
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.181 seconds

Get Started