mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge pull request #541 from IgorNadj/fix-ul-jqueryvalidate
FIX: jquery validate attempting to validate ul as input
This commit is contained in:
commit
802c750a77
@ -77,7 +77,7 @@ jQuery(function ($) {
|
||||
* Default options for step validation. These get extended in main().
|
||||
*/
|
||||
UserForm.prototype.validationOptions = {
|
||||
ignore: ':hidden',
|
||||
ignore: ':hidden,ul',
|
||||
errorClass: 'error',
|
||||
errorElement: 'span',
|
||||
errorPlacement: function (error, element) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user