Dynamically change the regular expression in RegularExpressionValidator?

Discussion in 'ASP .Net' started by BH, Aug 5, 2003.

  1. BH

    BH Guest

    I have a textbox allows user to enter either an integer number or a string
    based on the values from two radio boxes (e.g. search by ID, or search by
    name). Is there a way to change the regular expression in the
    RegularExpressionValidator that validates user input in the textbox based on
    which radio box is selected? I'm looking for a way to perform the
    validation on the client side in IE.

    Thanks
     
    BH, Aug 5, 2003
    #1
    1. Advertisements

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. VSK
    Replies:
    2
    Views:
    2,695
  2. =?iso-8859-1?B?bW9vcJk=?=

    Matching abitrary expression in a regular expression

    =?iso-8859-1?B?bW9vcJk=?=, Dec 1, 2005, in forum: Java
    Replies:
    8
    Views:
    1,105
    Alan Moore
    Dec 2, 2005
  3. GIMME
    Replies:
    3
    Views:
    12,538
    vforvikash
    Dec 29, 2008
  4. John
    Replies:
    5
    Views:
    595
    Alexey Smirnov
    Feb 19, 2007
  5. Replies:
    1
    Views:
    1,366
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Feb 25, 2007
  6. Eric Layman
    Replies:
    2
    Views:
    568
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Mar 28, 2007
  7. Paulo Reichert

    Regular expressions with the RegularExpressionValidator

    Paulo Reichert, Oct 21, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    223
    Paulo Reichert
    Oct 21, 2003
  8. rfarmer

    RegularExpressionValidator.Validation Expression Values

    rfarmer, Feb 29, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    184
    Axel Dahmen
    Mar 1, 2004
Loading...