Forums

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

How to make a fields mandatory based on particular status on Edit screen

Kanaka Ponnuru Prasad March 23, 2023

Hi Team,

I am looking for a behavior that only on particular statuses I want to make the 3 three fields mandatory on the edit screen.

Scenario: If I move the status to In Decision I want 3 fields to be mandatory on Edit screen only and this will not apply for all remaining statuses.

For remaining statuses edit screen with 3 fields to be optional except for Indecision status.

Can someone help me out with the behavior for this requirement?

Thanks in Advance

1 answer

1 vote
Dave Mathijs
Community Champion
March 23, 2023

Hi, you'll need to do this on the transition/workflow screen with validators, so between statuses.

Kanaka Ponnuru Prasad March 23, 2023

Hi @Dave Mathijs .

I already added a transition screen and made those 3 fields mandatory via validator now I want same fields to be mandatory on Edit screen as well. I think validator concept will  not work for Edit screen.

So I am looking for a behavior for this requirement. It would be great If you can provide me the behavior.

Thanks!

Suggest an answer

Log in or Sign up to answer