Hi,
I' am trying to pass values from a form to another form.
Into the first form (on nuLoadEdit),I set a hash variable with nuSetHash('student_id', '123').
Later I open the second form (with nuOpenForm). In this form when I'm trying to get the value with the nuGetHash('student_id'), I get "undefined".
Why that happens?
At the help page http://wiki.nubuilder.net/index.php/Jav ... C_value.29 says:
nuSetHash(name, value) :"Adds or sets a hash variable in the global hash variable array".
What exactly do you mean by global?
Thanks in advance
Nektarios
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Hash Variables (nuSetHash)
Re: Hash Variables (nuSetHash)
nekpap,
nuSetHash() and nuGetHash() are used to access the js object, nuFORM...
(BTW, don't go changing any that are already set).
Opening a second window will not add the first window's nuFORM to the second window's nuFORM.
Setting nuSetHash('student_id', '123') in window 1 will not mean you can access it from window 2.
but it can be accessed using hash variables.. http://wiki.nubuilder.net/index.php/Hash_Variables
Steven
nuSetHash() and nuGetHash() are used to access the js object, nuFORM...
(BTW, don't go changing any that are already set).
Opening a second window will not add the first window's nuFORM to the second window's nuFORM.
Setting nuSetHash('student_id', '123') in window 1 will not mean you can access it from window 2.
but it can be accessed using hash variables.. http://wiki.nubuilder.net/index.php/Hash_Variables
Steven
You do not have the required permissions to view the files attached to this post.