Skip to main content

Hi,

Is there a javascript that clean several single line fields, at the same time, when the form is loaded ?

I am using Sharepoint and Nintex Forms 2010.

configure to all the controls your custom class and then use a code like

NWF$('.ControlsToClearClass').val('');‍‍

Hi, Marian

 

Thanks for the immediate response, but I must be making a mistake:

 

I put    ControlsToClearClass   in CSS Class

 

I put    NWF$('.ControlsToClearClass).val(''); in Form Settings/Personal JS

 

But did not clear the fields when I edited the form.


I'm sorry, I missed a closing apostrophe sign after class selector.

I corrected the code above, check it once again.

hopefully you added the line of code within RegisterAfterReady() or ready() events...


Hi, Marian

Now it's working.

Thank you.


Reply