Recaptcha within a JQuery dialog

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Recaptcha within a JQuery dialog

Sebastia Van Lacke
Thanks Paul, but it is still not working. Now JQuery is removing the form element, so I can´t retrieve the input data.

My recaptcha component does the following:

RSRecaptchaComponent>>renderContentOn: html

      html div id: 'recaptcha'; with: [
        html form: [
            html render: self captcha.
            html submitButton
                callback: [ self verify ];
                with: 'verify' ]]

Sebastian

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Recaptcha within a JQuery dialog

Paul DeBruicker
Have you checked to see if you're nesting the RSRecaptchaComponent form
inside another form once the dialog opens?


If so you can move the dialog declaration div down to the footer and
leave the link that opens it where you've got it.






On 07/27/2011 09:41 AM, Sebastian Van Lacke wrote:

> Thanks Paul, but it is still not working. Now JQuery is removing the
> form element, so I can´t retrieve the input data.
>
> My recaptcha component does the following:
>
> RSRecaptchaComponent>>renderContentOn: html
>
>        html div id: 'recaptcha'; with: [
>          html form: [
>              html render: self captcha.
>              html submitButton
>                  callback: [ self verify ];
>                  with: 'verify' ]]
>
> Sebastian
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Recaptcha within a JQuery dialog

Sebastia Van Lacke
In reply to this post by Sebastia Van Lacke
Yes, I had nested forms. I moved the div dialog outside the form and it works.
Now I have to deal with returning the answer to the caller. I don't know if it is possible to use a call/answer mechanism with this dialogs.

Thanks

Sebastian
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside