cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Workflow Hero

Item not getting saved from a nintex form in modal dialog box

Hello all,

I am trying to open a Nintex form in a dialog box (by going into list settings --> advance settings --> select open form in dialog box) when user clicks on edit button. I have a repeater section on my form and for its validation i am using a custom javascript button for validation using javascript and then if the repeater section's validation is passed, (upon js function returns true) I then call .click() event of OOTB save button using its class (e.g. NWF$('.saveBtnClass').click()Smiley Wink. if i don't opt to open the form in dialog box (i.e. default setting), all goes well.But, if i try to open it in dialog box, validations are passed as expected, but upon calling .click() event of save button, form just vanishes immediately and no value is updated in list item.

Here are my custom javascript button settings on nintex form:

Please guide what am i missing.

Thanks,

0 Kudos
Reply
2 Replies
Workflow Hero

Re: Item not getting saved from a nintex form in modal dialog box

I faced the same issue when trying to save a form for a list having "Calendar" view set as default. In that view SharePoint is not respecting the "modal setting" and is always opening form in a modal window. Anyway - when I was trying to save a form in that modal window, Nintex was showing an error: "* Invalid URL value. A URL field contains invalid data. Please check the value and try again."

I opened a ticket with Nintex Support, and after some time they wrote me back, that they very apologize, but currently Nintex Forms is not supporting opening forms for lists in "Calendar view", in a modal window. I see, this is not a problem only for a "Calendar view", but wider related to the modal window.

Anyway, as they suggested, I have opened a post on UserVoice: Support for Nintex Forms in list calendar view – Customer Feedback for Nintex , however they cannot any ETA on when this can be released.

I am not sure, but maybe this is your case too?

Regards,

Tomasz

0 Kudos
Reply
Workflow Hero

Re: Item not getting saved from a nintex form in modal dialog box

‌ Thanks for your reply but i believe there should be some JS that i am missing to force the form to stay open and close after saving. i somehow, achieved it but in that case, repeater section was not getting validated and item was being saved even after false validation.

0 Kudos
Reply