Active
Project:
Clientside Validation
Version:
7.x-1.34
Component:
Field Validation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2012 at 20:37 UTC
Updated:
11 Sep 2015 at 14:29 UTC
Jump to comment: Most recent
Comments
Comment #1
attiks commentedLet's wait till #1804912: Allow multiple rules to be matched and displayed at once. is resolved/closed before changing clientside_validation.
Comment #2
SeanBannister commentedI think there is some work that can be done here that will be relevant and fix the bug side of this issue.
For example currently I have two regex, one fires if the field starts with "www." the other if it starts with "http://" so only one will ever be fired at once. However I guess Clientside Validation only loads one of them as I get the error for "http://" but when I enter "www." I get nothing. This ability to handle multiple validation rules is still relevant whether or not my feature request in Field Validation happens.
Comment #3
SeanBannister commentedAlso more importantly if you add a Field Validation rule to a Link field it actually stops the default URL validation from working.
Comment #4
attiks commentedAny change you can create a patch to fix his?
Comment #5
SeanBannister commentedFor sure, I'll add it to the list of things to do, might take me a few tries to get it right :)
Comment #6
cravecode commentedAny plans on a fix for this? I'm attempting to add several regex rules for a single webform element and it looks like only one will work at a time.