+ Start a Discussion
Shaker Kuncham 1Shaker Kuncham 1 

validation rule 1

if have check box called isEpicstory and filed called epic story
if user isspeic story (check box ) is true then epic story field should be empty ( user should not entery value need to restrict )


Regards
Shaker
karthikeyan perumalkarthikeyan perumal
Hello, 

To make the Field read only for spacific condition using validation rule you have to create New Record Type with ready only Field. 
Then you have to write a validation rule like below

IF( isEpicstory=True, $RecordType.Name = "New Read only Record Type name",  $RecordType.Name = "Old record Type name")


hope this will helps you, 

Thanks
karthik
 
yogesh_sharmayogesh_sharma

Hello Shaker,

Try this one:

IF( isEpicstory== true && EpicStoryField !='' , true, false)


I hope it helps you.

Thanks,

Yogesh Sharma

sukanya banekarsukanya banekar
Hi Shaker,

You can use following validation rule to keep the other fields empty if checkbox is checked

IF( isEpicstory==true, epic_story__c <> NULL, NULL)

I hope this will help you,

Thanks,
Sukanya 
Saravanan Sivalingam 1Saravanan Sivalingam 1
Hi Shaker,

isEpicstory = true  && epic_story =! NULL,

Note: Dont use the if condtion in validation.

If this sloved your question, choose best ans,

Thanks,

Saravanan Sivalingam.
 
Saravanan Sivalingam 1Saravanan Sivalingam 1
Hi Shaker,

isEpicstory = true  && epic_story != NULL,

Note: Dont use the if condtion in validation.

If this sloved your question, choose best ans,

Thanks,

Saravanan Sivalingam.