If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

  • 0
    tobias  10 years ago

    Very useful, thank you! Was searching in the documentation for a while for how to do this and found your page when I just googled "web2py add class attribute to form field"

Commented on:

Here are a few tricks for modifying individual form elements

Hosting graciously provided by:
Python Anywhere