LegaSuite & API

Expand all | Collapse all

Is it possible to set "Visibility" for 3 conditions?

Jump to Best Answer
  • 1.  Is it possible to set "Visibility" for 3 conditions?

    Posted 14 days ago
    We have a button that will require 3 different conditions.

    I set a character on the green screen hostfield called "Flag"

    If Flag = Blank , I want to hide this button
    If Flag = "0", I want to enable the button.
    If Flag = "1", I want to disable the button.

    By using Visibility, I can have only 2 conditions?

    Thanks.

    ------------------------------
    Peter Cheng
    E2open
    ------------------------------


  • 2.  RE: Is it possible to set "Visibility" for 3 conditions?
    Best Answer

    Posted 7 days ago
    Hi Peter,

    Normally, I would suggest using two buttons layered on top of one another.
    For example:
    Button 1: 
    If Flag = Blank Then Hide
    If Flag = 0 Then Display

    Button 2:
    If Flag <> 1 Then Hide
    If Flag = 1 Then Disable

    However, I am researching to determine if there are alternatives to this method.

    Thanks, Sarah

    ------------------------------
    Sarah Gerards-Gilbert
    Rocket Software
    ------------------------------



  • 3.  RE: Is it possible to set "Visibility" for 3 conditions?

    Posted 4 days ago
    This could work.  Let me try it.

    Thank you Sarah.

    ------------------------------
    Peter Cheng
    E2open
    ------------------------------



  • 4.  RE: Is it possible to set "Visibility" for 3 conditions?

    Posted 3 days ago
    Thanks Peter. 
    Please let me know how it goes.

    ------------------------------
    Sarah Gerards-Gilbert
    Rocket Software
    ------------------------------



  • 5.  RE: Is it possible to set "Visibility" for 3 conditions?

    Posted 2 days ago
    Yes, it works, thank you Sarah.

    ------------------------------
    Peter Cheng
    E2open
    ------------------------------