Script not working for show/hide fields

karlab
Tera Contributor

Hello,

 

this is my script. It is not working to show or hide fields depending on the selection. I have created a UI policy as well for RITM and its not working. Basically an approver comes in and selects "refinement" depending on the choice for refinement then techncial governance path drops down choices.

 

Here's my script and UI Policy. As you see, when NAS is selected, it doesn't drop down the corresponding fields

 

karlab_1-1727456221505.png

 

karlab_2-1727456250133.pngkarlab_3-1727456360072.png

 

 

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@karlab The onChange script won't trigger as no variable name is selected into it.

 

karlab_2-1727456250133.png

I added a variable and doesn't seem to work

@karlab Here are few more isssues. The intakePath variable is defined twice which might be causing issues with the script.

 

karlab_2-1727456250133.png