mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #118 from ARNHOE/patch-6
Fixed typo, live validation works again
This commit is contained in:
commit
7eb5a74543
@ -570,7 +570,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
|||||||
(function($) {
|
(function($) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#Form_Form").validate({
|
$("#Form_Form").validate({
|
||||||
ignore: ':hidden'`,
|
ignore: ':hidden',
|
||||||
errorClass: "required",
|
errorClass: "required",
|
||||||
errorPlacement: function(error, element) {
|
errorPlacement: function(error, element) {
|
||||||
if(element.is(":radio")) {
|
if(element.is(":radio")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user