Highlight VIP user in requested items form as I checked previous solutions didn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2023 09:00 AM
How to highlight VIP user in service request form in requested items I checked same styles and client script in incident and previous solutions nothing worked for my instance .
Can anyone please respond it is quite urgent requirement
Thanks in Advance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 09:55 AM
So it looks like your code is looking for the "requested_for" field. Is that the field that is on the form? I seam to remember by default the "request.requested_for" field is on the form and that is the field that you are using in your Value for the style.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 10:12 AM
Yes it's looking for requested_for field but VIP icon is displaying for VIP user in list view. Now the trouble is for form onload and onchange client script is not working as expected that vip icon is not adding to the form or taking the condition for VIP to display the icon. Can you please help me with the client script(I mentioned above the client scripts I added).
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 11:28 AM
There is a requested for field on the Request table and the Requested item table. Which one do you have on the Requested Item form? You will most likely need to personalize the form to figure it out which one is there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 09:20 PM
For clientscript to work on field (requested for) in requested item form I checked no styles is being applied to requested for field. I checked it using client script in both request table and requested item table. Can you help me with any client script I could apply on requested for field on requetsed item table to add vip gif for vip user.
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 09:24 AM
So which requested_for field is on your form? request.requested_for or just requested_for? You need to verify that first. You said the code is working elsewhere so you have to have the field wrong. Check which field is on the form.