Hello!

Sorry for the lot messages :-o

I have a controller:

def captcha():
    form=crud.create(db.mytable)
    form[0].append(Recaptcha(request,"....","..."))
    return dict(form=form)

but the validation is always succeed...

I have 2 errors on javascript console (chrome) but I don't know if it
is significant:

[The HTML that caused this error was generated by a script.] <div> is
not allowed inside <tbody>. Inserting <div> before the <table>
instead.

<noscript> is not allowed inside <tbody>. Inserting <noscript> before
the <table> instead.
---------- cut ---------------
<div><table><tr><td style="font-weight:bold;">form</td><td
valign="top">:</td><td><div><form action="" enctype="multipart/form-
data" method="post"><table><tr id="mytable_myfield__row"><td><label
for="mytable_myfield" id="mytable_myfield__label">Myfield: </label></
td><td><input class="string" id="mytable_myfield" name="myfield"
type="text" value="" /></td><td></td></tr><tr
id="submit_record__row"><td></td><td><input type="submit"
value="Submit" /></td><td></td></tr><script type="text/javascript"
src="https://api-secure.recaptcha.net/challenge?
k=6LeacwsAAAAAAA401GAmoDdAE1ph_kHj_wvT7pJA"></script>
[The HTML that caused this error was generated by a script.] <div> is
not allowed inside <tbody>. Inserting <div> before the <table>
instead.
<noscript>
<noscript> is not allowed inside <tbody>. Inserting <noscript> before
the <table> instead.
<iframe src="https://api-secure.recaptcha.net/noscript?
k=6LeacwsAAAAAAA401GAmoDdAE1ph_kHj_wvT7pJA" height="300" width="500"
frameborder="0"></iframe><br />
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></
textarea>
<input type='hidden' name='recaptcha_response_field'
value='manual_challenge' />
</noscript>
</table><div class="hidden"><input name="_next" type="hidden" /><input
name="_formkey" type="hidden" value="cada8a69-caf9-4f5b-
bd63-114e7d7b2162" /><input name="_formname" type="hidden"
value="mytable/None" /></div></form></div></td></tr></table></div>
---------- cut ---------------

-- 
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.

Reply via email to