Page 1 of 1

Use Hash Cookie in HTML Chart

Posted: Wed Dec 01, 2021 4:36 pm
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

Re: Use Hash Cookie in HTML Chart

Posted: Wed Dec 01, 2021 4:56 pm
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?

Re: Use Hash Cookie in HTML Chart

Posted: Wed Dec 01, 2021 5:33 pm
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.

Re: Use Hash Cookie in HTML Chart

Posted: Wed Dec 01, 2021 5:56 pm
by kev1n
nuGetValue() expects an object Id.

E.g

Code: Select all

nuGetValue('display_id')

Re: Use Hash Cookie in HTML Chart

Posted: Mon Dec 06, 2021 1:26 pm
by kev1n
Hi,

Did you get that to work?