Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset/clear a field in a Screen which gets populated based on the selection of another field?

Sandhya Muthukumar July 10, 2024

I have created a JSM portal which has a Asset single select field, select list and a user picker.

When a user picks a option in the Asset field, the user picker field has to be populated with values and the Select list (single choice) has to show up so the user can pick a option. We used Scriptrunner behavior to achieve this. This is working as expected.

On the other hand, when the user clear the value on the Asset field, it has to automatically clear the data on the user picker field and select list field.

I tried write a script on with if/else condition but it did not work as expected.

How to define this scenario on the behavior to reset the values on the field based on the selection?

0 answers

Suggest an answer

Log in or Sign up to answer