AnsweredAssumed Answered

Custom Validation in Nintex Forms 2013 not working

Question asked by netsenthil on Jan 12, 2015
Latest reply on Oct 18, 2016 by rameez



I have upgraded the Nintex forms 2010 to Nintex Forms 2013 while upgrading our Sharepoint 2010 environment to SharePoint 2013.


There were Required Field Columns hidden from the view which will not get validated as they are hiddne. After moving to Nintex 2013, the hidden fields started throwing form required validation errors.

I read somewhere that the Nintex Forms 2013 has changed and it would not be an option to have a hidden field in the form and skip required field validation.


So I removed the required option from the SharePoint list and wrote a custom validation function which is mentioned below.

So when Edit Mode the Custom Validation fired and did not show the custom validation message. it actually closed the form instead of staying in the form. Kindly help as soon as possible,


I was expecting that the arguments.IsValid = false; will have the form stay and show the custom validation error messge, but it closed the form.


Can somebody help to what needs to be done in the below script to have the form stay and show the custom error message ?



function mustNotBeBlank(source, arguments)



     var strModeEdit = "Is Edit Mode";


       if (strModeEdit.toLowerCase() == "true")



              var titleText = arguments.Value;

              if (titleText == "")



                    alert("Please Enter Closure Date");






Senthil Kumaresan.