Ignore:
Timestamp:
03/11/09 22:20:42 (11 years ago)
Author:
astephen
Message:

Added some templates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/renderer/form_renderer.py

    r5958 r5960  
    4242 
    4343        validators = {"int": ("/^[0-9]+$/", "The %s input must be an integer." % name),  
    44                       "float": ("/^(([0-9]+\.[0-9]+)|([0-9]+\.)|(\.[0-9]))$/", "The %s input must be a decimal number." % name), 
     44                      "float": ("/^[-+]?([0-9]*\.[0-9]+|[0-9]+)$/", "The %s input must be a decimal number." % name), 
    4545                      "string": ("/[0-9a-zA-Z]+/", "The %s input must include text characters." % name)} 
    4646 
Note: See TracChangeset for help on using the changeset viewer.