Page 1 of 1
How to use openForm()
Posted: 31 Oct 2013
by MES5464
I am trying to put a button on a Show form that will take the user to the IT Show Notes edit form. Why isn't this working?
openForm("
http://share.showprg.com/Lists/IT Show Notes/fd_Item_Edit.aspx", {ID:2});
Re: How to use openForm()
Posted: 01 Nov 2013
by Dmitry Kozlov
Hello,
I'm using the following code and it seems it works as expected:
Code: Select all
fd.openForm('/Lists/Custom/fd_Item_Edit.aspx');
event.preventDefault();
Re: How to use openForm()
Posted: 05 Nov 2013
by MES5464
Can we add additional parameters to the fd.openForm()?
Such as:
var shwname = fd.field('Show').control('data')['Title'];
fd.openForm('/Lists/GS Show Notes/fd_Item_New.aspx',{ID:nid, List: '8D3C4CBC-393A-4B34-A2FB-AC03D5C06C30', Source: window.location.href, ShowName:"\"" + shwname + "\""});
Where ShowName will be retrieved in the open form to populate a field.
How do you query the ShowName parameter in the open form?