Skip to main content
Nintex Community Menu Bar

Control validation

  • December 21, 2016
  • 3 replies
  • 24 views

Forum|alt.badge.img+6

Hey guys, I have  a control Approver type Person or group (this have a validation rule "if is empty" then fill the approver) and also I have one Yes/No control... So what I want to do is create a rule like (if Yes/no control is checked then clear the value in the Approver control and also destroy de rule) Please let me know your feedbacks. Thank you.

3 replies

Forum|alt.badge.img+14
  • Scholar
  • December 22, 2016

I assume with 'destroy rule' you mean: if Yes/no control is checked then clear the value in the Approver control and do not 'apply' the rule - ie. pass validation through.

reg. validation itself, it's just matter of validation formula. so in your case it should look like

not(CheckBox)  && isNullOrEmpty(Approver)

if you search through the forum, you will definitely find some useful examples.

reg. clearing Approver, this is not possible with rules, you will have to write piece of javascript code that will do that.


Forum|alt.badge.img+6
  • Author
  • December 22, 2016

awesome, that is what I needed, it is working.  Thank you so much


Forum|alt.badge.img+14
  • Scholar
  • December 22, 2016

awesome that it is awesome happy.png

do not forget to close the question by marking it answered.