You need to sign in to do that
Don't have an account?
Sylvie Serplet
Validation rules on multiple fields when opportunity is closed
Hi,
I am trying to set a validation rules when an opportunity is closed won.
When IsWon is true and the record type is MyRecordType all the following fields need to be completed (fields 1,2,3 are picklists and field 4 is date).
My code is:
Thank you for your help.
Sylvie
I am trying to set a validation rules when an opportunity is closed won.
When IsWon is true and the record type is MyRecordType all the following fields need to be completed (fields 1,2,3 are picklists and field 4 is date).
My code is:
AND( IsWon = true, $RecordType.Name = "myrecordtype", ISBLANK(TEXT(field1)), ISBLANK(TEXT(field2)), ISBLANK(TEXT(field3)), ISBLANK(field4) )The rule works the first time the user try to close the opportunity, but if only one field (field 1 for example) is completed, the rule does not execute again and the opportunity can be closed even if the 3 other fields are empty. Is it a normal behaviour or my validation is wrong?
Thank you for your help.
Sylvie
All Answers