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)
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#' === "") {
$('#name').val(parent.name);
}
}
Thansk for the help
regards
Stefan