AnsweredAssumed Answered

Hiding panels

Question asked by kev@synergi on Oct 6, 2017
Latest reply on Oct 12, 2017 by sakhatri@iotap.com

Hi, 

 

I have a form with 4 panels with the following purposes;

 

1: New form panel

2: Edit form panel (when property of a dropdown field (User Status) is Active)

3: Edit from panel (when property of a dropdown field (User Status) is Inactive)

4: Display form panel

 

For panels 2 & 3, when the form is in edit mode, either 2 or 3 should display based on the selection of a 2 option dropdown (User Status), populated on new form.

 

I can progress the visibility of the panels on the simple mode logic;

 

1: not(Is New Mode) with hide ticked on formatting rule

2: not(Is Edit Mode) with hide ticked on formatting rule

3: not(Is Edit Mode) with hide ticked on formatting rule

4: not(Is Display Mode) with hide ticked on formatting rule

 

What I cannot progress is the logic to show either of the edit panels (2 or 3) based on the dropdown selection made on new form mode.

 

A few rule approaches which have not worked;

 

  • not(Is Edit Mode) && (User Status!='Active'||User Status!='**SelectValue**')
  • not(Is Edit Mode) && (User Status=='Active'||User Status=='**SelectValue**')
  • and(not(Is Edit Mode), not(equals(User Status, 'Inactive')))

 

Can anyone suggest what I can do to display the correct Edit panel based on the dropdown property?

 

 

Thanks in advance.

Outcomes