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
Sfdc SivaSfdc Siva 

Validate record via Javascript

Hi All,
We are checking the couple of conditions based on javascript logic.
Contact email checking: if the contact email is already associated with some other user we needs to be popup message like:
"User is already exists with the same email".
Partner Licence checking: if there is no licences then we need to popup message like "You have not enough license available".

I have tried below Javascript logic, the above points are not working.Can any one please help us.

Thanks
NagendraNagendra (Salesforce Developers) 
Hi Siva,

Please check with below suggested solution from the stack exchange community which helps you. Hope this helps.

Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra