Skip to content

Commit

Permalink
Add validator letters numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Marie59 authored Jan 18, 2024
1 parent 452fa1f commit 56fc5a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/obisindicators/robis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
</command>
<inputs>
<param name="species" type="text" label="Scientific name of the species" help="Genus species format, eg : Scomber scombrus"/>
<validator type="regex">^[A-Za-z ]*$</validator>
<param name="taxon" type="text" label="Taxon ID"/>
<validator type="regex">^[0-9]*$</validator>
<param name="lat_min" type="float" min="-90" max="90" value="0" label="Input latitude min (+north/-south):" optional="true"/>
<param name="lat_max" type="float" min="-90" max="90" value="0" label="Input latitude max (+north/-south):" optional="true"/>
<param name="long_min" type="float" min="-90" max="90" value="0" label="Input longitude min (+east/-west):" optional="true"/>
Expand Down

0 comments on commit 56fc5a1

Please sign in to comment.