cancel
Showing results for 
Search instead for 
Did you mean: 
lalcabasa
Nintex Newbie

Nintex Forms O365 Submit button Custom JavaScript validation not working

We are using Nintex Forms O365. We are using the Client Click function of Submit button and specify this:

 

return validateFormSubmission()

 

And the actual JavaScript is:

 

function validateFormSubmission()

{

var formValidateMessage = validateMandatoryFormFields();
if(formValidateMessage != ""){
alert(formValidateMessage);

return false;
}
else{
return true;
}
}

It throws the alert just fine; however, even if it returns false, it still pushes through in the "Saving" action. Also, it doesn't really "save" it. It is just stuck on the "Saving" screen.

 

In Nintex Forms 2013 on-premise this is working fine.

 

Is there a difference in how to implement in O365?

Labels: (1)
Tags (1)
0 Kudos
Reply
1 Reply
Community Manager Community Manager
Community Manager

Re: Nintex Forms O365 Submit button Custom JavaScript validation not working

@lalcabasa what are you attempting to validate? Sorry I didn't look through the JS much. Also, we have the new rules engine which helps with validations on some level that may be of interest. Its part of the New Responsive Forms Designer. 

 

Ping @EuanGamble for info on how to get access.

0 Kudos
Reply