On Mar 2, 1:28 pm, mdipierro <[email protected]> wrote: > The auth.settings.update_captcha was introduced in 1.76.1 and we > forgot to add an id for the newly added row, therefore it cannot be > referenced by name, only by position form[0][-2]. This will be fixed.
Great - thanks! :-) > > On Mar 2, 12:22 pm, Yarko Tymciurak <[email protected]> > wrote: > > > On Tue, Mar 2, 2010 at 11:04 AM, szimszon <[email protected]> wrote: > > > Okay it works like a charm: > > > > form[0][-2][2].append(SPAN('comment...')) > > > This is terrible: unreadable - can't tell what it is / does... > > > You were better off doing this _before_ calling crud.create(), when you > > created your own captcha widget... > > > Isn't there a better way? > > > *sigh* > > - Yarko > > > > 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 <http://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 <http://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/<http://dawn.royalcomp.hu/%7Eraas/> > > > > > 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]<web2py%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/web2py?hl=en. -- 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.

