You need form and its submitting.
FORM,
or SQLFORM.factory (you have to save yourselves the input value after the form validation from forms.vars into db database)
or SQLFORM (this will save the input value automatically)
Both SQLFORM's will generate the input element, so you need learn how to modify its attributes (autofocus...) via Web2py or you can manipulate the attributes via javascript (jQuery).
With FORM you define all elements in the view. So manipulating with field attributes is easy, but you have more work to do. + you need save form.vars too.
Dne úterý 12. července 2016 10:43:07 UTC+2 pbt napsal(a):