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!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available 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();