I have a form and it includes 3 text boxes.
and I have a button.
1. I want to force the user to fill the name text box first.
2. If the user did not write any thing in the name text box and click any where in the form he get a message telling him he must first write the name. (e.g. if the user click the email text box without writing the name, then he should get the warning message and the type crouser go to the Name text box"
I mean I want to focus on the name text box first.
What is the code for doing that?