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

AndersBGS
Tera Patron
Tera Patron

Hi @Deepanshi1 ,

 

Please share a snip of how you have configured your UI Policy. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

 

Better to use an onChange Client script for this. Your UI policy will trigger every time the complexity is one of those values, because that's what your policy states.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

can you provide me the code pls