Morning,
We have several filters on reports which are of the type select box.
i.e. A list of the months (text)
All, January, February, March etc
If I set "July" in the default value, when I run the report, it uses this value correctly and the results list accordingly.
However, when the variables load at the top, the first option ("All" in my case), is selected rather than "July" which is the default, which confuses the user.
Is there a way for the select box to set that option to selected?
Regards,
Allan
Setting default options as selected in variables select list
-
- Posts: 13
- Joined: Thu Apr 09, 2015 11:14 am
Re: Setting default options as selected in variables select
Hello, Allan.
Sorry, but we couldn't reproduce the issue.
Could you send us a sample report template with data that will help us to do this?
Thank you.
Sorry, but we couldn't reproduce the issue.
Could you send us a sample report template with data that will help us to do this?
Thank you.
-
- Posts: 13
- Joined: Thu Apr 09, 2015 11:14 am
Re: Setting default options as selected in variables select
Here is a simple example of what i mean.
Regards,
Regards,
- Attachments
-
- default-not-set.zip
- (22.2 KiB) Downloaded 283 times
Re: Setting default options as selected in variables select
Hello, Allan.
Maybe we don't understand your question.
Could you describe it more detailed?
What do you need to get?
What you can not do?
Thank you.
Maybe we don't understand your question.
Could you describe it more detailed?
What do you need to get?
What you can not do?
Thank you.
-
- Posts: 13
- Joined: Thu Apr 09, 2015 11:14 am
Re: Setting default options as selected in variables select
That when the page loads, the variable month should be preset to July, as the default says.
In html this would be:
<select name="monthoption">
<option value="All">All</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July" selected="selected">July</option>
</select>
Hope that explains it better.
Allan
In html this would be:
<select name="monthoption">
<option value="All">All</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July" selected="selected">July</option>
</select>
Hope that explains it better.
Allan
Re: Setting default options as selected in variables select
Hello,
Unfortunately, it is impossible to do now.
If it's critical issue for you, please send us a request to support@stimulsoft.com reffering to this forum thread.
Thank you.
Unfortunately, it is impossible to do now.
If it's critical issue for you, please send us a request to support@stimulsoft.com reffering to this forum thread.
Thank you.
Re: Setting default options as selected in variables select
Hello, Allan.
We have made an improvement.
You could set default value now.
The patch will be available in our next prerelease build on July 31.
Thank you.
We have made an improvement.
You could set default value now.
The patch will be available in our next prerelease build on July 31.
Thank you.