I've got two input forms:
<input id="name" class="input" name="name" type="text" value="" size="30" />
<input id="email" class="input" name="email" type="text" value="" size="30"/>
this first input (name) shouldn't accept empty field or the many spaces, and the second input (email) should contain only one (@) and at least one dot(.)