hum... doesn't seem to be working for me... maybe because I am using
these things:
myTable=db.Table(None,'myTable',
Field('name'))
db.define_table('stuff',myTable))
oh well, I'll keep digging...
Thanks,
Mart :)
On Oct 30, 7:10 pm, mart <[email protected]> wrote:
> cool! thanks :)
>
> On Oct 30, 5:39 pm, apple <[email protected]> wrote:
>
>
>
>
>
>
>
> >http://web2py.com/book/default/chapter/10#Conditional-Fields-in-Forms
>
> > On Oct 30, 9:30 pm, mart <[email protected]> wrote:
>
> > > Hi,
>
> > > does anyone know if I can have some sort of condition in a form (but
> > > BEFORE the form is submitted)?
>
> > > For example, lets say I have 5 fields in a form where depending on
> > > what a user decides, we would expose 2 extra fields (or not). Anyway
> > > to do something like this? I am open to any suggestion :)
>
> > > thanks,
> > > Mart :)