hi all
i want to limit the input from the user in the textbox... actually i am creating a "signup" page where the user have to type his name ,password, email, etc...
the problem is i want an error to be displayed on a label when the user type nothing in the name for example says that "please fill the empty fields" and also i want an error to be displayed if the user include "\,&,^,%,$,#,|,<,>" in his name says for example "only letters and numbers allowed to be written in name field"
i tryed this could:
if txtname.text = "" then
lblinvalid.text="please fill the empty fields"
end if
but it didn't work i dont know why??!!!!!!
and also how to limit the text to only numbers and letters without these characters "\,&,^,%,$,#,|,<,>"???
thanks all