Hi ,
I need to save operation on ms crm portals so below code written but while clicking on ok it is saving automatically
could you please advice any wrong with my code.
$(document).ready(function () {
$('#NextButton').on('click', function (e) {
debugger;
var supporter = $('#crm_nameofcontact').val();
if (supporter != null && supporter != "") { }
else
{
alert("Name of contact field is manadatory");
e.preventDefault();
}
})
});
Thanks,
Naresh
*This post is locked for comments