• 2692 views
  • 0 comments
  • loading...

Create an input field together with its label

FIELDSET is used to create an input field together with its label.




>>> print FIELDSET('Height:', INPUT(_name='height'), _class='test')

<
fieldset class="test">Height:<input name="height" /></fieldset>

loading...

Sources / Reference

" web2py Book Chapter 5: The views" by Massimo de Pierro is licensed under Creative Common License BY-NC-ND 3.0

" tt" by tt is licensed under Creative Common License BY-NC-ND 3.0


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)