Click save button programmatically
Posted: 07 Sep 2015
Hello,
I'm using SP.ClientContext.executeQueryAsync to get data from other list and according to the result I would like to allow user to save or not save the edit form. Because this function runs asynchronously I can not use the code in fd.onsubmit(). I use another button to use executeQueryAsync function and in that code I would like to trigger save button programmatically. Is it possible ?
I'm using SP.ClientContext.executeQueryAsync to get data from other list and according to the result I would like to allow user to save or not save the edit form. Because this function runs asynchronously I can not use the code in fd.onsubmit(). I use another button to use executeQueryAsync function and in that code I would like to trigger save button programmatically. Is it possible ?