This can be done in validate(), see http://wiki.g2.bx.psu.edu/Admin/Tools/Custom%20Code

 

Alex

 

From: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu] On Behalf Of Lukasse, Pieter
Sent: Tuesday, 23 October 2012 9:05 PM
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] Validation / validator questions

 

Hi,

 

Is it possible to do validation of input fields depending on the value of OTHER input fields?

 

Example 1

 

If field A is filled, then field B also should be filled.

 

Example 2

 

Field B should be > field A

 

etc

 

Pieter Lukasse

Wageningen UR, Plant Research International

Departments of Bioscience and Bioinformatics

Wageningen Campus, Building 107, Droevendaalsesteeg 1, 6708 PB,
Wageningen, the Netherlands

+31-317480891; skype: pieter.lukasse.wur

http://www.pri.wur.nl