Posted by Rob Loach on April 5, 2010 at 4:59pm
Jump to:
| Project: | Webform Validation |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
It would be great if the Webform Validation module could also do some JavaScript validation so it doesn't have to hit the server.
Comments
#1
You mean like replicate the validation rules in JS, and if JS is disabled fall back to server side validation?
That's an interesting idea, but I guess it would require quite some work, and my JS skills are not that sophisticated.
I think special cases like multistep forms might also make the logic more complex.
I'll see if I have time to look into it, but there's no immediate incentive right now.
#2
I've got ya :-) . Hopefully by next week. Don't need any complex fields, but maybe just the basics.
#3
Awesome :) I trust your JS skills a lot more than my own ;)
You'd like CVS access if that's easier?
#4
How is the status of this? :-D Thank you Rob! ::praises Rob with luxurious gifts::
#5
Marking this one as postponed until further notice.
#6
For referenced pimpage: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
#7
What is the state of this? Is it the plan to integrate http://bassistance.de/jquery-plugins/jquery-plugin-validation/ somehow? Any progress?
#8
Sorry, other things came up. There are plans, just not sure when they'll come. If anyone wants to get it started, I'd be willing to help out.
#9
I needed this as well, but not only for webforms but also for regular forms, I started a new project: clientside_validation. For the moment it supports all standard webform components and some regular FAPI elements.
#10
I just added support for the following rules to my module (clientside_validation):
- Numeric values
- Minimum length
- Maximum length
- Equal values
- Unique values
- Specific value(s)
- Minimum number of selections required
- Maximum number of selections allowed
- Exact number of selections required
I did some basic testing, but all feedback appreciated.
#11
Feedback on this could probably be put in its proper issue queue.
I have added a mention of your module on the webform_validation project page earlier, so people looking for that would be directed that way...
#12
More accurate status :)