Urgently Needed - Hide & Show Fields are not showing on Variable Editor form on RITM

Roshani
Tera Expert

Hi All,

 

I have written  Onchange catalog Client script to Hide/Show fields based on choices. Its working fine on catalog form view but fields are not visible on Variable Editor on Form . Can you please help me with fixing this issue. 

 

Roshani_0-1724522502686.png

 

 

Roshani_1-1724522614678.png

 

4 REPLIES 4

Brad Bowman
Kilo Patron
Kilo Patron

Variables are viewable on a RITM form by default.  If you didn't change the request_type... variable after the form loaded, then you must have a different Catalog UI Policy or Catalog Client Script that is making these hidden. If you did change the onChange trigger variable for this test, is the value covered in your if/else if conditions?  FYI if you use setDisplay in place of setVisible the blank space will be filled with variables that are visible.

Roshani
Tera Expert

Hi Brad,

 

I have covered all the values for hide and show in if/else condition . Its working fine in Catalog Form view but field hide and show is not working in Variable editor on RITM table.

If you are conducting the same testing steps on both forms, then there simply must be a different Client Script (catalog, or one running on the sc_req_item table) and/or Catalog UI Policy affecting these variables.

Community Alums
Not applicable

Try using UI Policies instead of Client script