Hi There,<BR>I am having the search engine, in which i am searching by four ways three of them are text search and one search is by date.<BR>I am having a combo box when user selects the date from the combo box and enters the date, user gets the result of the entered date. What i want to do is to restrict the user to restrict the user to enter only eight character in the text box when the user selects to search by date option from the combo box. But when user selects something other than the date the restrictions of entering 8 characters should not exist.<BR><BR>bye ,<BR>Thanks for the wonderful site.<BR>Waiting for the solution.