Hello everyone,
Could anyone help me with this question:
Is it possible to set prompt value before prompt page appears?
For example: JavaScript launches and sets some prompt value, then prompt page appears, and we see prompt checkbox that were filtered by cascaded prompt tool that were setted by JavaScript.
Yes, it's possible.
I don't know about Javascript, but you can set a default value for a prompt
Quote from: bladeless on 17 Aug 2015 03:07:36 PM
Hello everyone,
Could anyone help me with this question:
Is it possible to set prompt value before prompt page appears?
For example: JavaScript launches and sets some prompt value, then prompt page appears, and we see prompt checkbox that were filtered by cascaded prompt tool that were setted by JavaScript.
Hi bladeless,
Rightly said by BigChris, why not set a default value for the prompt instead of using any javascript. Its an inbuilt property for the prompt which will make your task easier with less complexity.
Regards
Thank you, all for your response!
To
cognostechieQuoteYes, it's possible.
How can I do it(using JavaScript)?
To
allQuoteyou can set a default value for a prompt
I knew about the feature. But, I have date prompt in the prompt page, and when I set a default value for a prompt, it is also sets default value for date prompt (current date, also used as required filter in a query). How can I avoid it?