Calling Javascript from Requiredfield Validator

Discussion in 'ASP .Net Web Controls' started by JB, Jul 31, 2003.

  1. JB

    JB Guest

    Is it possible to call a javascript function when
    validation on a requiredfield validator control fails?
    I have a need to change the color of a label when there is
    no data in a textbox. I tried using customvalidator but it
    would not invoke the client side function if the textbox
    content is null.
    Any help will be greatly appreciated
     
    JB, Jul 31, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sean

    Help: Requiredfield validator

    Sean, Jul 31, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    393
  2. Bryce Budd

    CheckBoxList RequiredField Validator

    Bryce Budd, Nov 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    6,330
    Bryce Budd
    Nov 22, 2003
  3. =?Utf-8?B?Vmk=?=

    RequiredField Validator question

    =?Utf-8?B?Vmk=?=, Nov 11, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    469
    =?Utf-8?B?Vmk=?=
    Nov 11, 2005
  4. Vinitha

    ASP.NET RequiredField Validator

    Vinitha, Mar 2, 2011, in forum: .NET
    Replies:
    0
    Views:
    910
    Vinitha
    Mar 2, 2011
  5. Bryce Budd

    CheckBoxList RequiredField Validator

    Bryce Budd, Nov 22, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    244
    Bryce Budd
    Nov 22, 2003
Loading...

Share This Page