Confused with global hash cookies...
Posted: Sun Apr 16, 2023 8:19 pm
Me again, a nightmare.
But nuBuilder is a great platform, worth my learning efforts, and I appreciate so much your assistance!
Now I have problems with global hash cookies.
In my nuuserHome I have an input object ('scelta_anno') and a button to launch a form.
The onclick() code of the button is just:
1) In the form that opens, at first #my_anno# appears to be not defined in the BB code, but then it is after a page reload - checked using nuDebug(nuHash());.
2) Instead, it appears to be correctly defined for the form custom code - checked using console.log(nuGetProperty('my_anno'));.
3) Finally, the hash_cookie disappears at all when I reload nuuserHome, disappointingly.
Where am I wrong?
Thank you

But nuBuilder is a great platform, worth my learning efforts, and I appreciate so much your assistance!
Now I have problems with global hash cookies.
In my nuuserHome I have an input object ('scelta_anno') and a button to launch a form.
The onclick() code of the button is just:
Code: Select all
nuSetProperty('my_anno', scelta_anno.value, true);
2) Instead, it appears to be correctly defined for the form custom code - checked using console.log(nuGetProperty('my_anno'));.
3) Finally, the hash_cookie disappears at all when I reload nuuserHome, disappointingly.
Where am I wrong?
Thank you