MSargentini
Design Dabbler

Show/Hide panel based on dropdown menu

Jump to solution

Goodmorning all,

I have a list with a column (choices via dropdown menu, 4 choices (Please Select a value/Permanent/Consultant/Contractor)

Created a form, inserted the column and also a panel.

What I would like do is once Permanent has been selected from the dropdown menu it shows the panel.

Created a rule and tried the following rules but none of them are working (also check the community but still not able to make this work)

 

NameOfTheChoiceColumn != "Permanent", hide checkbox selected

NameOfTheChoiceColumn != 'Permanent', hide checkbox selected

 

Anyone any idea what I am doing wrong....

 

Thanks in advance!

0 Kudos
Reply
8 Replies
Not applicable

Re: Show/Hide panel based on dropdown menu

Jump to solution

Hi

It works for me. I have a Dropdown with Numbers 1 to 5. If I select 4, a Panel should be hidden. The rule code is:

[DropDownField]=="4"

-> Hide checked

[DropDownField] is the named Control inserted via the formula generator. It will not work if you write the name of the Control by yourself.

0 Kudos
Reply
MSargentini
Design Dabbler

Re: Show/Hide panel based on dropdown menu

Jump to solution

Hi,

That's what I thought it would do too!
Still not working at all, I am not using numbers but that shouldn't be an issue....

0 Kudos
Reply
tbeduneau
Nintex Newbie

Re: Show/Hide panel based on dropdown menu

Jump to solution

Try to put  a calculated value field to your form, with Formula = [NameOfTheChoiceColumn]

You will see what your dropdown really save as value.

If you dropdown is filled by a list lookup, the value should be somehing like "3;#Permanent" instead of just "Permanent".

0 Kudos
Reply
MSargentini
Design Dabbler

Re: Show/Hide panel based on dropdown menu

Jump to solution

Hi Thomas,

Thanks for the tip!

Just inserted the calculated value and its showing the value that I select via the dropdown menu - Permanent - see screenshot2015-11-11_14-30-53.png

0 Kudos
Reply
jackgelo
Automation Master
Automation Master

Re: Show/Hide panel based on dropdown menu

Jump to solution

Hi,

in the formatting rule, are you sure you're using the Named Control and not the Item Property one? The Named Control has the current value of the form field, the Item Property has the value the field had when the form has been loaded.

Giacomo

View solution in original post

0 Kudos
Reply
tbeduneau
Nintex Newbie

Re: Show/Hide panel based on dropdown menu

Jump to solution

Try to define your rule like :

=not(equals(Test,"Option 2"))

instead of

Test!="Option 2"

0 Kudos
Reply
tbeduneau
Nintex Newbie

Re: Show/Hide panel based on dropdown menu

Jump to solution

Another tip : look at your other rules...if one is badly written, you won't have any error message, but the other rules  will not behave correctly.

Ex : if you have a rule with wrong syntax like Test!="Option 2 (forgottent quote at the end)

0 Kudos
Reply
amkarthi
Nintex Newbie

Re: Show/Hide panel based on dropdown menu

Jump to solution

Thanks Thomas for the tip for lookup drop down values in the nintex form

0 Kudos
Reply