Do not validate controls form with custom javascript validation


Badge +1

Hello All,

I have an issue with desabling validation for hidden controls.

I've created an javascript for single line validation and placed function in control settings under custom validation field. Tested and works as expected. 

But now I need desable validation if the panel with single text is hidden. Is any one know how to do that with JavaScript?

I've tried do that like this Nintex Forms – what to do with hidden fields when “required”? | The SharePoint Pub  but once I place a script from the article and trying to pre-view the form the form crashes,

Regards,

Ilya


2 replies

Badge +1

All, thank you,solved

Userlevel 5
Badge +14

Ilya Kulik, Would you mind to post your solution so that others with the same problem could see how you resolved it?

Reply