On Thursday, July 13, 2017 at 6:26:07 PM UTC-7, 黄祥 wrote:
>
> yes, thanks for the hints lionel, the show_if works, but the requires part
> that depend on another form field is still not work.
> no error occured, but the form validation is not work.
> i've create another simple webapp too but
yes, thanks for the hints lionel, the show_if works, but the requires part
that depend on another form field is still not work.
no error occured, but the form validation is not work.
i've create another simple webapp too but still got the same (before use
is_in_db() that refer to another table,
That should work. Your show_if is the only thing wrong there, it should be:
*db.test.field1.show_if = (db.test.field0 == 4)*
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
3 matches
Mail list logo