Developer forum

Forum » Templates » Captcha on non-custom solutions

Captcha on non-custom solutions


Reply
Is it possible to have a captcha protection on forms made on a non-custom solution?

Replies

 
Nicolai Høeg Pedersen
Reply
New forms module (Data lists) or classic?
 
Reply
New forms module (the one with the green icon).
 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
It's not possible out of the box. However you can achieve this by creating a custom FormSaveProvider (http://engage.dynamicweb.dk/Admin/Public/Download.aspx?File=Files%2fFiler%2fDocumentation%2fDevelopment%2fModules%2f(en-US)+Data+Management+Extensibility+API.pdf). You would have to do some coding to make this work.

The overall idea is to have a custom FormSaveProvider that validates the CAPTCHA. If it validates successfully then no further action is required. If it fails, however, then delete the form data from the database.
The reason for this backward way of doing it is because the DefaultSaveProvider (the one that saves the data to the DB) is always run as the first one to ensure no loss of data.

- Jeppe

 

You must be logged in to post in the forum