Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Hash / nuGetProperty

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Hash / nuGetProperty

Unread post 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 !
Last edited by mariri on Mon Jan 27, 2020 5:16 pm, edited 2 times in total.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Hash / nuGetProperty

Unread post 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
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Re: Hash / nuGetProperty

Unread post 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.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Hash / nuGetProperty

Unread post 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.
admin
Site Admin
Posts: 2822
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: Hash / nuGetProperty

Unread post 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
Post Reply