This may be a bug. Let me look into it.

On Apr 19, 9:45 am, Jose <jjac...@gmail.com> wrote:
> On 19 abr, 03:19, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > yes
>
> > query=db.table.field.belongs(('a','b','c'))
> > query=~db.table.field.belongs(('a','b','c'))
> > query=db.table.field.belonds(db(query)._select
> > (db.othertable.otherfield))
>
> OK. Thanks.
>
> > if form is your form...
> > form[0] is the <table>...</table>
> > so you can do
>
> > form[0].append(TR('label',INPUT
> > (_name='youvarname',requires=IS_NOT_EMPTY()),''))
>
> > To insert the field in the form. Or you just use a custom field.
>
> Thanks, it is what wanted. It shows me the new field in the form, but
> it happens that the submit does not validate it.
>
> I did this:
>
> form[0].insert(len(form[0])-1,TR('label',INPUT
> (_name='youvarname',requires=IS_NOT_EMPTY()),''))
>
> Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to