Is there a predefined webpart called CAPTCHA webpart?

若如初见. 提交于 2019-12-11 23:07:36

问题


How would I go about creating a CAPTCHA plugin for the framework Kentico CMS 7.0?

Is there a predefined webpart called CAPTCHA webpart?


回答1:


There are few form controls of CAPTCHA type. Navigate to Site manager -> Development -> Form controls and filter out CAPTCHA controls. You'll find e.g. "logic captcha" or "text captcha". You can use those controls e.g. in forms (this is typical usage) or anywhere else (just see properties of particular control).

If you want to prevent robots posting to your forms edit the form, add a text field and select CAPTCHA of your choice as a form control.




回答2:


In addition to the built in CAPTCHA controls, you can also build your own reCAPTCHA control rather easily. The instructions are listed on this Kentico DeveNet forum post. Note that for step 5, instead of using the code listed in the first post, use the code in my reply to the initial post ('Gavin_Paolucci-Kleinow-URMC.Rochester - 1/4/2013 11:05:53 AM' since I can't link to that individual post in the thread).



来源:https://stackoverflow.com/questions/18172532/is-there-a-predefined-webpart-called-captcha-webpart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!