function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Monishan MMonishan M 

Validation rule not working with submit action

Hi ,

I have written below validation rule to prevent submitting a record.
Status is a picklist field.

AND(ISPICKVAL(Status_vod__c, 'Submitted_vod'))

When user clicks submit button the above rule should fire and display error message.

But this is not happening. Validation error is not getting displayed and the record is also not getting submitted.

Can you please help me on this

Thanks
ANUTEJANUTEJ (Salesforce Developers) 
Hi Monishan,

Do you have an error message that needs to be displayed?

Also, can you use debug logs and see if there are any issues?

Looking forward to your response.

Thanks.
Mila JohnsonMila Johnson
Hi Monishan,

Have you resolved this issue, looking for a similar solution.

Thank you!