Dynamic attribute hide and show based on selection

AshirvadhN
Regular Contributor
Regular Contributor

Hi Experts,

 

I need one help on Dynamic attributes hide and show based on selection

AshirvadhN_0-1695229786666.jpeg

 

I have a requirement like in the above highlighted field now i haven't selected any drop downs, so if am not selected any drop downs and if am in please select an action---->select then these global id, firstname, and other attribute which is present in this page these all should hide and should not appear here 

I tried this still not worked

HIDE###terminationtypemodify###Modify User___SHOW###terminationtypemodify###User Termination___HIDE###Supervisor###select

5 REPLIES 5

adriencosson
Regular Contributor III
Regular Contributor III

Hi @AshirvadhN ,

Supposing your dynamic attribute is named "action" and you want to hide "firstname", "globalid" and other attributes when nothing is selected, you need to add to your "action" attribute's Action String the below nomenclature  : 

HIDE###firstname###___HIDE###globalid###___etc...

Where ###___ indicates "no value selected" and then go through your next condition.

 

Regards,
Adrien COSSON

Yes your right.

But if nothing is selected then supervisor is not showing.

if am selecting any drop downs then supervisor is needed but in selection of drop down supervisor is not showing.

HIDE###Supervisor###___HIDE###terminationtypemodify###Modify User___SHOW###terminationtypemodify###User Termination

adriencosson
Regular Contributor III
Regular Contributor III

Hi @AshirvadhN ,

You will need to add SHOW###Supervisor###value___ for each possible value of your parent attribute.

Note that you must list all possible values to not miss any use case.

Regards,
Adrien COSSON

I want to hide not to show.

HIDE###Supervisor###

Is this correct syntax? or do am missing any thing?

adriencosson
Regular Contributor III
Regular Contributor III

Hi @AshirvadhN ,

Yes this is the right syntax.

Regards,
Adrien COSSON