Custom size for popup form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
Anton Vityaz
Posts: 7
Joined: Mon Jun 22, 2015

04 Nov 2015

How to show SPForm in dialog mode with a specific width and height?

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

05 Nov 2015

Use width and height settings in the object you pass to the showModalDialog function, like this:

Code: Select all

SP.UI.ModalDialog.showModalDialog({
 url: '/Lists/MyList/fd_Item_EditForm.aspx?ID=1',
 height: 1000,
 width: 1000
});

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests