Developer forum

Forum » Templates » reCaptcha implementation

reCaptcha implementation


Reply

Hi,

 

Has anyone manage to use the reCaptcha or similar to a form? I am also trying to use the Alternative form action to run a javascript that changes the form action and try to sent it, but no good.

 

Any ideas?

 

Best Regards,

Nuno


Replies

 
Reply

I haven't tried it, but we had a discussion about it a while back: http://developer.dynamicweb.dk/Forum-17061.aspx?action=ShowThread&ThreadID=1172

 
Reply
Sorensen wrote:

I haven't tried it, but we had a discussion about it a while back: http://developer.dynamicweb.dk/Forum-17061.aspx?action=ShowThread&ThreadID=1172


 

Hi Lars,

 

I actually managed to get it almos to work perfectly. There is just one value missing. I need the client IP. Dw does not provide through a tag, and I cannot get via javascript (except in some browsers using java libraries)

 

We could post a form with rePatcha data, and with the postback, update the real form (hidden) with the correct action destination. I just need the client IP. Any ideias/thoughts?

 

Best Regards,

Nuno

 
Reply

There are a couple of suggestions here:)

http://www.google.dk/search?hl=da&q=javascript+client+ip&meta=&aq=f&oq=

 

 
Reply
Sorensen wrote:

There are a couple of suggestions here:)

http://www.google.dk/search?hl=da&q=javascript+client+ip&meta=&aq=f&oq=

 


 

Hi Lars,

 

Yap, exactly my point only with server side or java. I think the only way was to get a Dw tag with th user IP. Maybe a custom module could inject a global tag. I believe there is some documentation somewhere with that info, otherwise, would be impossible.

 

We really need this to work, because this client is migration to Dynamicweb and has had problems in the past with spam, having to insert a Captcha function to avoid this.

 

I am going to suggest the IP tag. May come in handy to other solutions.

 

Best Regards,

Nuno

 
Reply

If you don't have the time to wait for DW update, you can just code a PageTemplateExtender that merges Request.ServerVariables["REMOTE_HOST"] to a tag in the page template.

 
Reply
Sorensen wrote:

If you don't have the time to wait for DW update, you can just code a PageTemplateExtender that merges Request.ServerVariables["REMOTE_HOST"] to a tag in the page template.


 

Just the tip i needed. Thanks for the "rescue"!

 

Best Regards,

Nuno

 
Reply

Always happy to help:)

 

You must be logged in to post in the forum