How to hide/show section in demand when UI action is clicked.

prash4
Tera Expert

I have created a section called 'Cancel Information' on Demand table, and a UI action 'Cancel Demand'.

 

Section 'Cancel information' need to be visible when clicked on cancel demand button, how can I achieve this?

 

UI action code:

prash4_1-1724770669295.png

 

 

 

prash4_0-1724770610325.png

 

quick help would be really appreciated.

 

1 REPLY 1

Sid_Takali
Kilo Patron
Kilo Patron

Hi @prash4 I'm not sure UI Action but you can create an onChange() client script on state field. when State == 5, show form section and  make fields mandatory. From Cancel Demand UI Action move state field to 5. Try this