You're not missing anything; using validators is the right way for checking 
parameter values. However, the page refreshes + validation errors is certainly 
less than ideal for usability. We're in the process of transitioning tool forms 
to a JavaScript-based framework so that full page refreshes (and associated 
validation checks) are no longer necessary.

J.

On Sep 11, 2013, at 4:26 AM, Kahlke Tim wrote:

> Hi
> 
> I'm using the <validator> tag for simple sanity checks of a tool input. But I 
> realized that any conditional in the form will automatically call 
> refresh_on_change which also validates all fields and prints errror messages. 
> 
> So questioin: is there a more galaxy-like way of checking input parameters? I 
> am aware of the possibility to do sanity checks through custom code 
> (http://wiki.galaxyproject.org/Admin/Tools/Custom%20Code) but the page states 
> it should only be done if there is no other way.
> 
> Regards,
> Tim
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>  http://lists.bx.psu.edu/
> 
> To search Galaxy mailing lists use the unified search at:
>  http://galaxyproject.org/search/mailinglists/

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to