Dear list,
For a tool that I'm writing I would like to show or hide certain parameters based on what the user entered in other parameters. Normally I would use the conditional tag combined with a select menu which works fine in most cases.
However, I also use a selectbox with the following settings:
<param name="report_options" type="select" multiple="True" display="checkboxes" label=".." />
As far as I'm aware, it is impossible to use things like 'refresh_on_change' or making a conditional with it since multiple options can be selected.
Optimally what I would like to do is something like this (I know the syntax is incorrect):
#if "option1" in $report_options
#<param name="new_option1" type="text" />
#else if "option2" in $report_options
#<param name="new_option2" type="integer" />
#end if
But I tested it and the if/else stuff is ignored by Galaxy, is this due to the fact that the XML code is evaluated first and the Cheetah template only when the 'execute' button is pressed?
--
Another few small questions:
- When using the (deprecated) <page> tag, can I get a 'Previous' button?
- Where can I find instructions on the alternative of the <page> tag ("refresh_on_change")?
Thanks in advance.
Kind regards,
Marcel.