Page 1 of 1

Hash / nuGetProperty

Posted: Thu Jan 23, 2020 5:47 pm
by mariri
Hi,

In a PHP code (After browse), I add this following code : $_POST['nuHash']['someHashCookie'] = 'value'.
How can I have this new value in a JavaScript code ? I don't know how does the JavaScript function 'nuGetProperty' work, but its don't return the new value. Is there some nuBuilder function that can help me or some ideas ? :D

Thanks for ur help !

Re: Hash / nuGetProperty

Posted: Fri Jan 24, 2020 2:43 am
by kev1n
Hi,

I'm not sure if there's another way but this could be done with nuSetFormValue():

https://forums.nubuilder.cloud/viewtopic. ... 48&p=19313

Re: Hash / nuGetProperty

Posted: Mon Jan 27, 2020 3:00 pm
by mariri
Mh in fact, I would like to refresh all the data in a subform depending on the selected value in a lookup object.

Re: Hash / nuGetProperty

Posted: Mon Jan 27, 2020 4:48 pm
by kev1n
I'm not aware of any possibility to only refresh a subform. You would probably have to save the form to reload the data in the subform.

Re: Hash / nuGetProperty

Posted: Tue Jan 28, 2020 9:45 pm
by admin
mariri,

Subforms are a part of the main Edit Form.

But you could create a separate Form that contains a Subform and display that, from a Run::iFrame.

And refresh that with nuFilterRun()...

https://wiki.nubuilder.cloud/ ... uFilterRun


Steven