Page 1 of 1

Custom size for popup form

Posted: 04 Nov 2015
by Anton Vityaz
How to show SPForm in dialog mode with a specific width and height?

Re: Custom size for popup form

Posted: 05 Nov 2015
by rostislav
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
});