Open a list's "New Form" from a link
Is it possible to put a link on the home page that will open a list's new form in a dialog?
I have set the list to "Open in dialog" and I have used the url to the forms designer's new form but it doesn't open as a dialog form.
Here is the link:
"http://url/Lists/Suggestion Box/fd_Item_New.aspx"
I have set the list to "Open in dialog" and I have used the url to the forms designer's new form but it doesn't open as a dialog form.
Here is the link:
"http://url/Lists/Suggestion Box/fd_Item_New.aspx"
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Please, put the following link into the home page via SharePoint Designer:
<a href="#" onclick="g_useDialogAlwaysList.push('fd_Item_New.aspx'.toLowerCase()); NewItem2(event, 'http://url/Lists/Suggestion Box/fd_Item_New.aspx'); return false;">New item</a>
<a href="#" onclick="g_useDialogAlwaysList.push('fd_Item_New.aspx'.toLowerCase()); NewItem2(event, 'http://url/Lists/Suggestion Box/fd_Item_New.aspx'); return false;">New item</a>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests