Welcome to the nuBuilder Forums!

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

Use Hash Cookie in HTML Chart

Questions related to using nuBuilder Forte.
Post Reply
marcus
Posts: 20
Joined: Mon Nov 29, 2021 10:16 am

Use Hash Cookie in HTML Chart

Unread post by marcus »

Hello, I am tryiing to use a hash cookie (the value of a display object inside my form) in a array to be used as a chart value inside a HTML Object. nuGetValue() does not seem to work with a hash cookie. What would be the best way to accomplish my needs?

best regards
marcus
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Use Hash Cookie in HTML Chart

Unread post by kev1n »

HI,

Are you saying that you cannot retrieve the value of a Display object with nuGetValue() ? It works perfectly fine for me. Can you show some code?
marcus
Posts: 20
Joined: Mon Nov 29, 2021 10:16 am

Re: Use Hash Cookie in HTML Chart

Unread post by marcus »

To keep it short:

Code: Select all

$value = nuGetValue('input_value');
works fine, while

Code: Select all

$value = nuGetValue('#display_value#');
isn't working.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Use Hash Cookie in HTML Chart

Unread post by kev1n »

nuGetValue() expects an object Id.

E.g

Code: Select all

nuGetValue('display_id')
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Use Hash Cookie in HTML Chart

Unread post by kev1n »

Hi,

Did you get that to work?
Post Reply