make field mandatory

Deepanshi1
Mega Guru

hi i want to make field mandatory when my comlexity field changes. how can i do it. i have created ui policy for it but it is coming for all value i only have to do when complexity changes.

3 ACCEPTED SOLUTIONS

where do i write this record?

View solution in original post

Sandeep Rajput
Tera Patron
Tera Patron

@Deepanshi1 Here are the steps to create a client script to make a field mandatory.

1. Search for Client script module in Application Filter. >> Click New 

Screenshot 2024-05-02 at 2.51.46 PM.png

2. Configure the client script as follows.

Screenshot 2024-05-02 at 2.54.32 PM.png

View solution in original post

@Deepanshi1 
do it in client script search in application navigator and use onchange on the field


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh

View solution in original post

17 REPLIES 17

Sandeep Rajput
Tera Patron
Tera Patron

@Deepanshi1 Here are the steps to create a client script to make a field mandatory.

1. Search for Client script module in Application Filter. >> Click New 

Screenshot 2024-05-02 at 2.51.46 PM.png

2. Configure the client script as follows.

Screenshot 2024-05-02 at 2.54.32 PM.png

okay thanku i will try and let you know

and also i want to clear my value in mandatory field each time i change my complexity, what would be the code for it.