Change view from incident form

Lion Kesler
Tera Contributor

Hey

I am looking for a solution to the problem

In the incident table I have 2 types of incidents

I want to create one form, when I have a selection box (option 1 and 2)

When I clicked on option 1 - the box becomes read-only and the view of the form changes

If I chose option 2 - the box becomes read-only and the display of the form changes to another

 

I was thinking of clint script (onChange) that checks the box and use "switchView 'section' 'incident' 'ess' ;"

bat is not work

Maybe you have a solution?

 

LionKesler_0-1684144136344.png

 

1 REPLY 1

Twinkle S
Mega Sage
Mega Sage

Hello,

Its better you use Ui policy . In condition add if option is A > then in actions show or hide variables you want on the form.  Same with option B. 

This should work. 

 

 

Please hit like, mark answer correct, if it solves your query.

Regards

Twinkle