I'm facing an issue, not a big one mind you - the regexp/validator error is 
not shown.

Lets say for example:

form.Textbox("username", form.regexp("^[A-Za-z0-9]*$", 'Username must 
contain only letters and numbers')

That does work, but the error is never shown.

In the template:

      $if not form.valid:
        <p class="error">
          Try again!
        </p>

Is there a specific way to access these errors? Due to lack of 
documentation I assumed it would be magic - its not a big problem not 
having the specific error given to a user and I can even come up with my 
own way to get around it but it would be nice to use the built in errors. 
Or are they simply internal?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to