Skip to main content
Nintex Community Menu Bar

Redirect based on control value / run JavaScript only if form is valid?

  • Dec 15, 2016 3:28 PM UTC
  • 2 replies
  • 18 views
  • Translate All

Forum|alt.badge.img+8

I need to be able to redirect to a URL when a form is saved based off a value of a control.   For some reason Nintex cannot access a control value in the Redirect URL parameter on the form.

So I thought I could use the Client Click parameter of the button.    This works but the code is always executed even if the form is not valid.      Is there anyway to check if the form is valid then not execute the code if it is not valid?

2 replies

Forum|alt.badge.img+11
  • Nintex Partner
  • Dec 20, 2016 11:41 AM UTC

Hi Bruce,

this article explains how to add custom validation functions to your form:  

Should give a start to implement your requirement.

Cheers

Philipp

Translate

Forum|alt.badge.img+8
  • Author
  • Feb 3, 2017 12:52 PM UTC

Yes I know about custom validation. I didn't want to custom validation as all of my validation is already done in rules.   The Redirect URL should be able to access controls but as usual Nintex does not go the extra mile.

Translate