Page 1 of 1

Related Items passing additional fields to form

Posted: 22 Jun 2016
by Stu
Hi, How do you pass or access additional fields from parent to the child form. When I click new related item it passes the parent ID but I would like to have additional fields for autopopulation.

Thanks

Stuart

Re: Related Items passing additional fields to form

Posted: 23 Jun 2016
by Dmitry Kozlov
Hi Stuart,

If a child form is opened in a dialog from the parent form, you can get the parent's fields following way:

Code: Select all

window.top.fd.field('FieldName').value();

Re: Related Items passing additional fields to form

Posted: 23 Jun 2016
by Stu
Awesome thank you