openFormInDialog - prevent reload / refresh of parent form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
ragesoft
Posts: 50
Joined: Fri Feb 23, 2018

09 Sep 2019

Hi there,

i'm using the fd.openFormInDialog function inside a dialog form to add related items.
This works fine, until the user saves the new item in the second dialog...

The second dialog close, the first dialog get a refresh...

How do i prevent the "parent" from refreshing after dialog close?

Do i have to set something in the "onsubmit" function of the "child" form?

Thx a lot!
Greetings.

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

10 Sep 2019

Hello ragesoft,

Please use Related Items control instead of fd.openFormInDialog.

Related items forms can be opened in the dialogue mode, and after submission, it will not refresh values in the parent form.

Please see 'Introduction to Related Items' and 'Related Items in regular mode' documentation for more details.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests