- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 03:13 AM
there is check box and a reference field on catalog item which referes to ABC Table. if fields on table is empty and check is False then catalog item variables should visible
if check box == false and referencefield.table fields == empty
then XYZ variable should visible and mandatory
@BharathChintala
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 05:37 AM
@sanjana5 in catalog ui policies dot.walking is not possible.
You have to write client script
it should be onChange catalog client script
Since I can't see your form. I am sending script in regular way modify based on your requirement.
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 04:02 AM
Hi,
You can create a Catalog ui policy as below and then add ui policy actions to show / hide / make mandatory . On the ui policy you can add the condition as you mentioned.
I am not sure i understand the challenge fully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 04:48 AM
Reference field is Department which references the cmn_department table.
I have created a demo checkbox field named CheckboxVariable.
XYZ field as single line text variable.
So as per the above mentioned requirement,the XYZ variable is only visible when the Department is empty and the checkbox is false.
Please write Catalog UI policy to make XYZ variable visible and mandatory as follows.
Please mark it as Helpful if it works.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 05:37 AM
@sanjana5 in catalog ui policies dot.walking is not possible.
You have to write client script
it should be onChange catalog client script
Since I can't see your form. I am sending script in regular way modify based on your requirement.
Bharath Chintala