Hi,
I have a Boolean variable created for controlling 2 conditional blocks based on the selection from a value prompt (dropdown with 2 static values Graph and Table, and this value prompt is not in prompt page and is at the top of the page) list on the page. I have added 2 conditionals blocks and I have a GRAPH on one and a TABLE on another conditional block. This is working correctly as per the selection from value prompt. But my problem is when the page is loaded it is by default showing me the table and I want the graph to be displayed.
Some more information : Current block is Yes for the conditional block for TABLE and No for conditional block GRAPH. Used same Boolean variable for both conditional blocks. Definition of Boolean variable is ParamDisplayValue('DataToView')="Graph"
Could some body tell me what the issue is here? Thanks in advance
I got it corrected by swapping GRPAPH to and TABLE between conditional blocks, obviously changed the variable definition as well.
But is any way to 'initialize' the value of the conditional variable when the page loaded at the first time.
Many thanks in advance.
Thanks,
UC
Explain what you mean by 'initailize'?
Try adding a static/default choice to the prompt (look in the properties for the prompt) that corresponds to the vaue you have for the graph.
Explain what you mean by 'initailize'? : meant that I may need to get 'False' for the boolean variable when it loaded first time.
Thanks Wyconian for that suggestion.