Hi All,
I am using prompt API to clear all the prompts but the the API doesn't clear the prompts which are in conditional blocks. Is it possible to clear the hidden prompts?
Thanks,
Mc
Prompts in a conditional block under a value that isn't currently selected are not hidden. They are not rendered - they are nowhere on the page. Any script you would run will only affect items which are rendered (In the DOM, exist within the report), so your script cannot possibly do anything to prompts which are in a conditional block in a block not currently rendered.
You'll have to replicate the conditional block's value using javascript to manipulate showing and hiding real blocks after rendering. Javascript in reports tends to procreate like this.