form.vars.book_title ? (book, chapter 7)



Dne úterý 23. srpna 2016 13:47:34 UTC+2 Gael Princivalle napsal(a):
>
> Hello.
>
> In a custom form when the user submit the form with errors I need to 
> reload all user inputs and set the input value.
>
> For example here is an input:
> {{=INPUT(_type='text', _name='book_title', _id='book_title')}}
>
> How can I do that ?
> As there is available on form errors form.errors.book_title is there 
> something like form.value.book_title ?
>
> Thanks.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to