Populate Subform with vlaues from parent form

Populate Subform with vlaues from parent form

Postby hagie » Sat Dec 17, 2016 9:20 am

currently I like to create a new form from a parent form to enforce some inherited values,
Let's call the it main Form and Child Form.
I've disabled the add button in the browser view for the child form and add a extra action to the parent form called "add child" with the java function:
Code: Select all
nuOpenForm(nuFORM.parent_form_id, nuFORM.parent_record_id, '5852b3a425cef0e', '-1', 'Child', nuFORM.filter)

I use this parameters because they are used in the "standard" add entry button.

Now I like to add one Filed from the parent form to the new child form. What is the best way to do this ?
something like :

Code: Select all
function nuLoadEdit() {

if( '#name#' === "") {

Another question is what is the filter in the function - I couldn't anything in the documentaion.

Thansk for the help
Posts: 20
Joined: Fri Dec 16, 2016 9:21 pm

Re: Populate Subform with vlaues from parent form

Postby admin » Tue Jan 24, 2017 12:11 pm


I don't understand your first question, but the answer to the second question is, its used internally by nuBuilder.

Site Admin
Posts: 3350
Joined: Mon Jun 15, 2009 9:53 am

Return to General