locked
HOW TO PREVENT SAVE IN TURBO FORM IN MS CRM 2016 ON PREMISE RRS feed

  • Question

  • HOW TO PREVENT SAVE IN TURBO FORM IN MS CRM 2016 ON PREMISE

    I'm using the below code but is not working please suggest alternate solution for this

    function onSave(context) {    

           if(a != b)) {

    alert("please verify the values")

               context.getEventArgs().preventDefault();

           }

       }

    It is not throwing any error but when i click on save and close it is closing the form.

    Friday, February 3, 2017 2:45 PM

All replies

  • Does it work when you click Save instead of Save and Close?

    Sachith Chandrasiri

    Thursday, February 9, 2017 2:54 AM
  • Refer this:

    https://msdn.microsoft.com/en-us/library/gg509060.aspx


    Regards, Saad

    Thursday, February 9, 2017 11:36 AM