How to use openForm()
Posted by MES5464 - Oct 31 ’13 at 09:59
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});
-
Dmitry KozlovAdminMember for: 8 years 7 months 26 days
Hello,
I'm using the following code and it seems it works as expected:
fd.openForm('/Lists/Custom/fd_Item_Edit.aspx'); event.preventDefault();
-
MES5464MemberMember for: 8 years 8 months 20 days
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?