Catalog Item How do you grey out previous selections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2017 11:34 AM
Hello All, I am struggling with a script to grey out all fields before the variable being selected. The idea is that a customer is filling out a Catalog Item, as they complete a variable field the previous field is greyed out. If a condition is met, then the form is reset. I believe this would be a Client Script. Do you have an idea of how to accomplish this?
I can possibly create a script with logic to include all variables in question, but that could be lengthy, I am looking for a script that I don't have to define every variable with the Catalog Item.
Let's use example:
u_1a dropdown
u_1b selection box
u_1c multiple choice
u_1d multiple line text
u_1e date
u_1f yes/no if no, reset form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2017 11:35 AM
Jonathan, this does not directly answer the question but I can see tremendous value for variable sets.. Something to keep in mind for my team. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2017 11:38 AM
Hi William,
Fair enough. Just as a thought, this variable set actually provides global functions to the entire catalog item...not just within a variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2017 12:02 PM
Hi Jonathan, yes I understand that this is a global function, which is great.
Here is the core of what I am trying to do. I have a group that would like a Catalog Item that asks the submitter a series of questions in order to submit the correct Request. There is a potential of 6 requests by a serious of questions. With each question a new question is revealed, and the previous question is grayed out so that it cannot be changed. There will be a yes/no question during the question process. If "no" is selected the form resets. So to start, only one initial question is visible upon form load.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2017 03:00 PM
Hi William,
Have you tried to use an order guide? This may help in this occasion, based on the answers it will bring back the proper request items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2017 03:52 PM
Hello Steven, no I have not. I have never used it before. No worries, I am going with Catalog UI Policies, it is just really tedious. I was trying to find a good universal Client Script as I foresee our Catalog Item Forms going down this logic in the near future.