sorry,I dint make it clear in the first place...what i want to do is to check whether the particular textfield is empty or not..If the textfield is nonempty,I have to check whether the user has inputted the textfiled with the proper text....thanx in advance...