in

dotNetFreak

Ramblings & Controls from a .NET Addicted Freak!

Problems with FormShield V.2.0

Last post 10-11-2007 12:55 PM by Kevin Gearing. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-12-2007 9:24 PM

    Problems with FormShield V.2.0

    Hy guys,

    I'm new here so hello to everybody and compliments to Kevin for his work.

    I'm trying to use the captcha control in my web page, in particular in a form to register a new user in my site. I'm not sure to have well undestood the use of it, because I note a strange thing.

    I've integrated the control in my page, where there are: the button "insert" to insert the new user, and also other 2 different buttons used for other works different from the insert button.

    Well, even when I click on the 2 different button the captcha control ask me to insert the valid security code showed in the image... So, how is it possible to link the FormShield validation only to the "insert" button?

    Another question: how can I do my actions when the control is ok? For example, if the user write the right characters I can read the data insert in the other textbox and send it into my DB.... other actions after the validation!

    I hope you have understand my problems... thanks a lot for your help!

    Igor

    Filed under:
  • 10-11-2007 12:55 PM In reply to

    Re: Problems with FormShield V.2.0

    Hi Igor,

    The easiest way to accomplish this is to not link FormShield to a validator.

    Then in the click event for the insert button check the value of the textbox against the value FormShield generated using the GetText() method on the FormShield object.

     

    Filed under:
Page 1 of 1 (2 items)
Shopbot
Shopbot

 

 

Copyright ©2004-2007 Kevin Gearing. All Rights Reserved.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems