More in this section

Forums / Developing with Sitefinity / CAPTCHA integration?

CAPTCHA integration?

4 posts, 0 answered
  1. Mike
    Mike avatar
    1 posts
    Registered:
    26 Mar 2008
    27 Mar 2008
    Link to this post
    Can CAPTCHA be integrated for forms for SItefinity? Is there code setup in the back-end or do we have to code this manually?
    Thanks for any responses.
  2. Tihomir
    Tihomir avatar
    53 posts
    Registered:
    24 Sep 2012
    27 Mar 2008
    Link to this post
    Hi Mike,

    We support this functionality. You can read all about it in a nice KB article we have set up on forms spam protection. Also, you can have a look at the Developer Manual where the code is available for download.

    Hope this helps!

    Regards,
    Tihomir
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. nogatek
    nogatek avatar
    35 posts
    Registered:
    23 Apr 2008
    09 Aug 2008
    Link to this post
    Hi Tihomir,

    The
    CAPTCHA is working fine, however, I would like to override some of the automated output / formatting:

    a) the user instruction message  'Type the code shown'

    b) the CapcthaInvalidInputMsg css class

    Where can I find / override the CAPTCHA control?

    Thanks, Mark
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    11 Aug 2008
    Link to this post
    Hello Mark,

    Both tasks could be done through the Spam Protector's designer.

    a) the user instruction message  'Type the code shown'
    This message could be changed from Spam Protector's Advanced -> Captcha section and the property CaptchaTextBoxLabel.

    b) the CapcthaInvalidInputMsg css class
    You can create a new class that will style the "Invalid Input" message. This style could be declared in your website theme, or in any other css file that is included in the page, which holds the Spam Protector. For example, if you use Blue with right sidebar theme, you should define the style in \[YourProject]\App_Themes\Blue with right sidebar\blue_right.css
    When you define the style, you should tell the Spam Protector to it. As mentioned, this could be done at the Advanced tab, Appearance -> ErrorMessageCssClass property.

    I have attached screenshots of these two properties.

    Don't hesitate to contact us if you have other questions.

    Kind regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered