en/disable field based on the state of checkbox/radiobutton
Hello, From looking at the documentation for tool config syntax and I wasn't able to spot a way to have a field enabled or disabled based on the state of a radio button or checkbox. Is this possible? If I missed the documentation please point me in the right direction. I have two use cases for this: the first is that I want the user to be able to either select from a group of preselected values (in my case genome lengths) or enter their own value in a numeric field; the second is that I'd like the user to be able to select from a data file that has been stored on our server or a data file from their history. Thank you, Keith
Hi Keith It works with "dropdowns" and the <when> tag set on the same interface page, see: http://wiki.g2.bx.psu.edu/Admin/Tools/Tool%20Config%20Syntax#A.3Cwhen.3E_tag... Regards, Hans On 02/29/2012 07:11 PM, Keith Sheppard wrote:
Hello, From looking at the documentation for tool config syntax and I wasn't able to spot a way to have a field enabled or disabled based on the state of a radio button or checkbox. Is this possible? If I missed the documentation please point me in the right direction.
I have two use cases for this: the first is that I want the user to be able to either select from a group of preselected values (in my case genome lengths) or enter their own value in a numeric field; the second is that I'd like the user to be able to select from a data file that has been stored on our server or a data file from their history.
Thank you, Keith ___________________________________________________________ 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:
participants (2)
-
Hans-Rudolf Hotz
-
Keith Sheppard