Results 1 to 3 of 3

Thread: Mandatory Text Box validation

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2003
    Location
    Out there somewhere!
    Posts
    386

    Mandatory Text Box validation

    Hello

    Does anyone know of any way to validate the text entered into a mandatory textbox?

    I can get it so that you can't just enter spaces, but I want it so that you just can't enter .'s

    I can test if .'s were just entered, but I want to test as much as I can.

    Kev.

  2. #2
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,226

    Re: Mandatory Text Box validation

    I think the first thing you need to do is write down the rules that define the textbox behavior.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  3. #3
    Fanatic Member x-ice's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    671

    Re: Mandatory Text Box validation

    Welcome to the wonderful world of Regular Expressions: http://www.mikesdotnetting.com/Artic...ns-Cheat-Sheet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width