You need to sign in to do that
Don't have an account?
elgutier
Validation rule for mandatory fields
Hi all,
I am required to create a validation rule that will triggers the obligation to fill in certain fields.
So the case scenario is:
If field policy (lookup) is blank, then fields "policy number", "start date", "end date" are to be mandatory.
I have been trying to implement the following logic for the object case ( as these fields are part of it):
AND (ISBLANK (policy.name)),NOT (ISBLANK (policy.number)), NOT (ISBLANK...."
But it is not accepted in the syntax.
Would please someone help me on this :)?
Thank you!
Hi
Just use the below mentioned formula after replacing your exact field name.
ISBLANK(policy-lookup) && ( ISBLANK( policy number) || ISBLANK( start date ) || ISBLANK(end date ))
Hi Manis,
Thanks a lot :)
Would it be possible to implement this requirement through a Validation rule and not a trigger?
Thanks for confirming.
BR.
Hi
The above mentioned formula is for validation rule. No need to write an trigger for this.