Hello web.py programmers, I have been writing a simple form, but in execution, when it looks for the form validates() function, I got an exception:
<type 'exceptions.AttributeError'> at /add 'str' object has no attribute 'valid' Python /usr/local/lib/python2.5/site-packages/web/form.py in validate, line 120 Web POST http://localhost:8080/add I have no idea why I got this if I am doing exactly what I found in the tutorials. I upload the source code if you want see my code. code: http://pastie.org/519469 template: http://pastie.org/519470 Regards! ps: Sorry if my English is not so good. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
