Hello All Experts,
I want to do simple logic while saving the form.
if (validate)
then save
else
alert('');
is it possible to do like this.
*This post is locked for comments
Hi,
You could use Javascript to avoid form saving.
See the link below.
neilparkhurst.com/.../javascript-prevent-save
social.microsoft.com/.../stop-saving-a-form-using-javascript-crm-2013
Hope this helps.
Hi,
You can use this where you think the form should not save further:
msdn.microsoft.com/.../gg509060.aspx
execObj.getEventArgs().preventDefault()
Hope this helps.
Hi
you can use the saveEvent.preventDefault();
Have a look at the below post:
https://community.dynamics.com/crm/b/crmandunifiedservicedesk/archive/2015/11/11/javascript-prevent-save
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156