Okay it works like a charm:
form[0][-2][2].append(SPAN('comment...'))
To sum up:
form[0] is the TABLE element to hold the form (type: class
'gluon.html.TABLE')
form[0][x] is the table's ROW to hold one of the input fields (type:
class 'gluon.html.TR')
form[0][x][y] is the table ROW's element to hold the 0-label, 1-
input field, 2-col3 (type: class 'gluon.html.TD')
All Okay. Tnx.
On márc. 2, 17:13, "mr.freeze" <[email protected]> wrote:
> crud.settings.create_captcha= Recaptcha(request,"...","...")
> form = crud.create(db.table)
> form[0][-2][0].append(LABEL("ReCaptcha:"))
>
> On Mar 2, 8:17 am, szimszon <[email protected]> wrote:
>
>
>
> > Okay, I have gone to lamer counter (http://dawn.royalcomp.hu/~raas/
> > lc.html).
>
> > Tnx a lot!
>
> > But another question :)
>
> > What if I would have to add a col3 comment to a new
> > crud.settings.create_captcha ? :)
>
> > On márc. 2, 15:08, mdipierro <[email protected]> wrote:
>
> > > Field(....,comment='some text')
>
> > > or
>
> > > Field(....,comment=SPAN('try ',A('click here')))
>
> > > On Mar 2, 7:47 am, szimszon <[email protected]> wrote:
>
> > > > Hello!
>
> > > > I know it's a beginner question but I can't google any answer to my
> > > > question :(
>
> > > > I wonder if someone could help me. How can I add some text in crud
> > > > form's col3?
>
> > > > Thank you!
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.