Simple textBox validation

Results 1 to 2 of 2

Thread: Simple textBox validation

  1. #1
    Join Date
    Dec 1969

    Default Simple textBox validation

    This is a simple form. How can i validate the textBox that is in this form i just want to check if the user enters a value, if the textBox is empty i would like to show a message. I don&#039t want the form to be submited if their id no value...thanks<BR><BR>&#060;FORM method="post" action="Hi.asp" id=frmBegin name=frmBegin&#062;<BR><BR><BR>&#060;INPUT id=txtNumber maxLength=15 name=txtNumber&#062;&nbsp;&nbsp; <BR>&#060;INPUT id=submit1 name=submit1 type=submit value=Enter&#062;<BR>&#060;/FORM&#062;

  2. #2
    Join Date
    Dec 1969

    Default RE: Simple textBox validation

    This can be done using javascript. Serach for Javascript Form Validation, and I am sure you will find something.<BR><BR>HTH<BR><BR>Jerry

Posting Permissions

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