jpacheco
Scholar

Conditionally set a button when a field IS NOT empty and IS empty

Jump to solution

Hello,

 

I am trying to setup two buttons (Approve/Reject) in a classic form that will enable and disable when needed. I want the button(s) to be disabled when a text field IS NOT empty and enabled when empty. 

0 Kudos
Reply
1 Reply
bamaeric
Communicator

Re: Conditionally set a button when a field IS NOT empty and IS empty

Jump to solution

You can accomplish this by creating a rule and applying it to one or both buttons. Here's how to configure the rule:

 

  1. Select the button and add a rule to the button.
  2. Configure the rule with these settings:
    • Name = Disable Button (or whatever else you select)
    • Rule Type = Formatting
    • Condition = not(isNullOrEmpty(Title))
      • Title is the name of your field.
      • This condition is built in the rule Formula Builder.
    • Check the Disable option
  3. You can then apply this rule to other button also so that you only have to create one rule.

NF 2013 - Classic Form - Disable Button.png

 

Reply