Hello,
I am new to nuBuilder an try to transfer values from an form to a frame. I can successful open the frame with an custom button (Code:nuOpenFormInFrame('575d8c759e630de',id);)
In the opened frame I want to predefine some vaules that should be get from the opened form in backgroup or pushed with "nuOpenFormInFrame".
How can I realize that?
Many thanks to the team of nuBuilder an your help.
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Transfer values from form to frame
-
- Posts: 8
- Joined: Tue Jun 14, 2016 10:29 am
Re: Transfer values from form to frame
I have found a solution myself.
On source form I created a button with the folowing code to set the hash variables:
On the target form I used Javascript under custom code.

On source form I created a button with the folowing code to set the hash variables:
Code: Select all
nuSetHash('myterritory', '#territory_id#');
nuSetHash('mypublisher', '#publisher_id#');
nuOpenFormInFrame('575d8c759e630de','','');
Code: Select all
$('#territory_id').val(nuGetHash('myterritory'));
$('#publisher_id').val(nuGetHash('mypublisher'));
$('#territory_id').change();
$('#publisher_id').change();