Nous contacter
jQuery(document).bind("gform_post_render", function(event,data,page){
try {
var jqr = jQuery; var f5_3 = new LiveValidation("input_2_5_3",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"name" },additional_data )); all_validations[2]["5_3"] = f5_3; f5_3.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f5_6 = new LiveValidation("input_2_5_6",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"name" },additional_data )); all_validations[2]["5_6"] = f5_6; f5_6.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f7 = new LiveValidation("input_2_7",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"text" },additional_data )); all_validations[2][7] = f7; f7.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f8 = new LiveValidation("input_2_8",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"text" },additional_data )); all_validations[2][8] = f8; f8.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f9_1 = new LiveValidation("input_2_9_1",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"address" },additional_data )); all_validations[2]["9_1"] = f9_1; f9_1.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f9_3 = new LiveValidation("input_2_9_3",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"address" },additional_data )); all_validations[2]["9_3"] = f9_3; f9_3.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f9_4 = new LiveValidation("input_2_9_4",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"address" },additional_data )); all_validations[2]["9_4"] = f9_4; f9_4.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f9_5 = new LiveValidation("input_2_9_5",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"address" },additional_data )); all_validations[2]["9_5"] = f9_5; f9_5.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f9_6 = new LiveValidation("input_2_9_6",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"address" },additional_data )); all_validations[2]["9_6"] = f9_6; f9_6.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f10 = new LiveValidation("input_2_10",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"phone" },additional_data )); all_validations[2][10] = f10; f10.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f11 = new LiveValidation("input_2_11",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"email" },additional_data )); all_validations[2]["11"] = f11; f11.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); var f17 = new LiveValidation("input_2_17",jqr.extend({validMessage: " ", jqObj: jqr,fieldType:"textarea" },additional_data )); all_validations[2][17] = f17; f17.add(Validate.Presence,{ failureMessage: "This field is required.",validMessage: " " ,jqObj: jqr }); } catch(err) { console.log(err); console.error("Error Applying validations!!"); }});