Catalog client script written on catalog item is not working on Order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 04:33 AM
Hi Experts,
Greetings !!
We have a requirement where we have to set info message and email notifications based upon UI policy defined on one on the rule based catalog item . to achieve this I have written OnSubmit catalog client script like when check box is true (to make check box true I have written UI policy script for combination of some select box variables on catalog item) then it should show Info message But unfortunately its always working on else condition . Can you please help me to fix this issue .
Thanks in advance..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 05:01 AM
Hi @shweta5,
It helps if you share the script.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 05:48 AM
Hi Peter,
Please find the screen shot of the catalog client script
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 05:54 AM
Hi @shweta5,
I would start with trying to place quotes around true.
If that doesn't work, place
debugger;
in line 2.
Open your developer console of the browser, and reload the catalog item.
Then you can see, what values are being used during evaluation.
For your reference:
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.