Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/18/2024 09:02 AM
Hi,
I have an attribute in user creation form named "usertype" having two values "contractor" and "Employee". The requirement is when user selects "contractor" all the other attributes except "First name and last name" should be hidden.
Please advise how can we achieve this. I have some idea about action string but don't know what and how to put the values there. Also, confirm if any parent child mapping is required.
Thanks
Nidhi
06/18/2024 10:15 AM
Hi @NID27 ,
No Parent / Child mapping is needed. Action String works independently.
If you want to Hide a certain attribute if usertype is contractor then you should use something like this and place it into Action String of the "usertype" dynamic attribute.
HIDE###myattribute1###contractor___HIDE###myattribute2###contractor___SHOW###myattribute1###Employee___SHOW###myattribute2###Employee___
This :
Bonus tip : if you want to Hide a field when no value is selected in usertype, use :
HIDE###myAttribute3###___
Hope this helps.
06/18/2024 10:34 AM
This is supported
06/18/2024 11:28 PM
Hi,
I tried the format but it is not working. I tried hiding and showing up an attribute "email" on selecting values from "Employee Type" but nothing happens. below are the configs for both the attributes.
1) Email Attribute
2) Employee Type attribute
Please advis.
Thanks
Nidhi
06/19/2024 07:09 AM - edited 06/19/2024 07:09 AM
Change enum employees type to sql query
select ‘employee’ as id union select ‘cont’ as id