Nintex Forms sample with JavaScript and email validations

Settings of Yes/No button

Including validations for email entry textbox

Settings of submit button

Settings for “Submit” button. Button action should be “Save and Submit” since we do run custom JavaScript’s.

Custom JavaScript

This should be applied in the form settings section.

function UserAgreement(source, arguments)
{
// varAgree is checkbox client id

alert(NWF$('#'+varAgree).prop("checked"));if(NWF$('#'+varAgree).prop("checked"))

{

arguments.IsValid=true;

}

else{

arguments.IsValid=false;

}

}

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s