Dynamically display a Date field when a specific item is chosen for a RITM

Jason Edinger
Tera Expert

I set up a new hardware request for a 'loaner laptop' and would like to have an 'estimated return date' field displayed when this item is chosen from the drop down. Can't seem to find out to do this. I tried copying how I dynamically display text based on a drop down choice but that isn't working.

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, I think any solution would have some dependency on the type of view involved, form, record producer, portal form. As a simple solution I would have a 'date' field that is visible via UI policy when your choice is not empty and your 'date' field changes or is not empty; and an onChange client script (for the choice field) that calculates the date (either in browser or server side using GlideAjax) then populates the date into your date field.

We've got other stuff setup for dynamically displaying an approver drop down field and I can't figure out how that is working (if it's scripted, that's probably why). I will open a support case to at least figure that out.