cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Rules & Validations in C4C

former_member703991
Participant
0 Likes
1,569

Hi All,

There's a Date field in the Lead Object. Select any date in the Date field and after the first entry it should be set as ReadOnly. What condition I can apply in the Set as ReadOnly Rule?

Accepted Solutions (1)

Accepted Solutions (1)

PrasanthArya
Product and Topic Expert
Product and Topic Expert

ichu1234 : For the field create a rule like
, NOT(ISBLANK(Root.Aryadate_e04ab32dbefea53cd56a603ac62377b6)) , in my exampe i considered an extension field (Root.Aryadate_e04ab32dbefea53cd56a603ac62377b) on type date which i created

You can now apply this rule on the proprty read only

From my testeing , intially the field where there rule is applied will be empty (IS BLANK) , so it is editable, and as soon as there is a value in it , post save , it will no longer be eidtable , since the ISBLANK conidtion will fail and rule will make the field read only 🙂

Answers (2)

Answers (2)

former_member81526
Participant
0 Likes

Good morning Riyu,

have you tried setting the field as mandatory when creating the lead (Quick Create) and then setting it as Read Only in the Lead Details?

Best regards,

Ana Gándara

mjveerhuis1
Active Contributor
0 Likes

Hi Riyu,

In my opinion a field is read only or not. So this cannot be done.

Kr.

MJ