making validation happen only when a button is clicked

Discussion in 'ASP .Net Web Controls' started by Humberto Alvarez, Aug 29, 2005.

  1. Hi All



    I'm using asp requiredfieldvalidator and regularexpressionvalidator to
    validate a text field and a file input field respectively. The validation
    messages (the text property of the validation controls) display when the
    controls to validate loose focus and not only when the submit button (with
    causesvalidation=true ) is pushed.



    I want these validation messages to display just when the button is pushed
    and not when the controls to validate loose focus. How could I do this?



    Thanks,

    Humberto
     
    Humberto Alvarez, Aug 29, 2005
    #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. Humberto Alvarez
    Replies:
    2
    Views:
    533
    Peter Blum
    Aug 29, 2005
  2. djjohnst
    Replies:
    0
    Views:
    356
    djjohnst
    Jun 6, 2007
  3. Replies:
    1
    Views:
    389
    =?Utf-8?B?TGFkaXNsYXYgTXJua2E=?=
    Aug 22, 2007
  4. Claire Osborne
    Replies:
    3
    Views:
    138
    Michael Winter
    Feb 10, 2004
  5. Replies:
    8
    Views:
    129
    Thomas 'PointedEars' Lahn
    Nov 30, 2005
Loading...

Share This Page