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-20-2017 08:26 AM
I ended up using UI Policy OOB. Works out well, but just took a bit of time to work out all the tweaks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2017 08:44 AM
Hi Steven, thanks for the like... I just posted another question, do you want to take a poke at it in relationship to this thread?
How do I add a reloadWindow script to a Form UI Policy (Service Portal)?