Click save button programmatically
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 ?
Please use:
Code: Select all
fd.save().click();
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests