1

I have a question regarding Nintex Forms 2013.

I'm opening the new item form using SP Modal Dialog, after clicking submit I want to run the below line.

SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.OK);

Since I have a callback function on the parent page to do something if DialogResult is OK or not

But this doesn't seem to work, onclientclick is not working since this line will close the modal popup and so the form won't be submitted.

I want to execute this after submitting the item. Any workaround except Page Redirect? I think if I can submit the form from OnClientClient and then run the above it will work. But so far I didn't find any working JS code to submit a Nintex form.

Appreciate your help folks.........

closed as off-topic by Benny Skogberg Mar 4 at 13:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.