Show/Hide Variable Set in Catalog Item based on the option selected in multi choice variable field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 02:48 AM
I have a Catalog Item that has variable fields including a Multiple Choice field and two Variable Sets. I will like that initially neither Variable Set is visible, then when an option in the Multiple Choice field is selected one of the variable set shows and the other one is hidden. Likewise, if the second option in the Multiple Choice field is selected, I want the second Variable Set to be shown while the other is hidden.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 03:09 AM
And show both on both options, I guess?
You can use a catalog UI policy to hide fields, based on the value of another field. 'If mc field does not contain xxx, hide'.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 03:39 AM
Change: Applies to --> Catalog Item and select the catalog item name instaed of Variable set name
Use this g_form.setDisplay('VARIABLE_SET_NAME',false); on UI Policy or Client Script. before this add a condition for checking for options.
Replace 'VARIABLE_SET_NAME' with the name of your variable set.