Hello,

Thanks for your interest :)

I am using Ajax.Updater of prototypejs lib to add ajax interaction to
regular form, something like this: 
'onsubmit="new Ajax.Updater(this.parentNode ...'

The original form already contain reCaptcha widget which works fine in
regular/classic workflow, but when I am trying to interact thru ajax
it's loosing the '<script src="http://...";></script>' part from output.

Here is forum thread about similar problem:
http://www.symfony-project.org/forum/index.php/m/40626/

But in my case I can't include script in other place:
'<script type="text/javascript"
src="http://api.recaptcha.net/challenge?k=XXXXXXXXX";></script>'


Seems like NOT symfony related problem with dynamic loading of
external JavaScript files...


On Thu, 2008-12-25 at 20:17 +0000, Lee Bolding wrote: 
> Can you explain your problem a little better?
> 
> I'm using reCaptcha with an AJAX form on http://lastminute.visualdna.com
> 
> I can't remember having any weird headaches other than having to  
> bypass the new forms stuff and manually instantiating the  
> reCaptureValidator in my action.
> 
> If you use reCaptcha with AJAX, don't forget to reload the captcha on  
> a failed attempt
> 
> On 25 Dec 2008, at 07:55, Yevgeniy A. Viktorov wrote:
> 
> >
> > Hello,
> >
> >
> > I have tried to build simple ajax form with reCaptcha, but got some
> > problems. The response of submitted form does not contain any
> > '<script></script>' tags. And it's not just reCaptcha, any others  
> > custom
> > 'script' tags omitted from ajax response.
> >
> > Seems like it's makes security sense, but I am looking for the right
> > solution...
> >
> >
> > Thanks for any help.
> >
> >
> > >
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to