Can you show us your form? Do you use {{=form.custom.widget[field]}} or
<input..../>. The latter is not supposed to work
On Thursday, 6 November 2014 09:45:10 UTC-6, Jeremiah Peterson wrote:
>
> in my controller I have
>
> db.news.link.show_if = (db.news.category==1)
>
> In my view if I just use {{=form}} then it will only show the 'link' field
> if the category field is set to 1.
>
> However if I use {{=form.custom.begin}} so can I can place my form fields
> in the order I want, it doesn't make that link field conditional any
> longer.
>
>
> Is there a way to fix this, or is there a way to use {[=form}} and have my
> fields show up in the order I want them too?
>
> Thanks,
> Jeremiah
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.