Developer forum

Forum » Development » How to validate the input of the forms module backend?

How to validate the input of the forms module backend?

Bjarne Rosendal
Reply

Hi there

 

I have a site that uses the forms (DW7) module for a feedback submission.

They are experiencing a great deal of spam postings to the form.

So I implemented http://www.google.com/recaptcha to validate that the user is not a bot.

But of course, as long as this validation is only javascript on the frontend, the bot is still able to bypass this check and post data to the form.

So my question is. Is there any way to extent the forms DW7 behaviour for a specific form to include backend validation through a plugin such as reCAPTCHA (which does include a .Net library)?

 

Best regards Bjarne

 

NB. I have enabled the antispam funtionality under the "Web and HTTP" --> "Security" node in the backend. This did not make a difference.

 


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

In global.asax you can catch any post to any page in Dynamicweb

 

Look for something in the post and implement the server part of the form.

 

Or upgrade to DW 8.3.... It has lots of antispam improvements.

Votes for this answer: 1
 
Jeroen Elias
Reply

Hi Nicolai,

Please elaborate your answer with an example (in detail if possible).

We also have this spam problem on DW7 implementations.

 

Thanks in advance,

    Jeroen Elias

 

 
Bjarne Rosendal
Reply

Thanks Nicolai, that was really helpful knowledge :)

 

You must be logged in to post in the forum