Good evening. I need to create a form that the email can be filled with a valid e-mail and password (leads to a page) or with a name without @ and without password (leads to another page). Is it possible to do that? At the moment I have this code that directs both options to the same page.
<div id="login">
<span>Acesso Condômino</span>
<form target="_blank" name="form1" method="post" action="http://sistema.ajmcondominios.com.br">
<input type="hidden" value="logar" name="action"/>
<input id="cod" type="hidden" value="845" name="cod"/>
<label>Login:
<input type="text" name="login" id="nome" value="" placeholder="Digite seu Login..." required/></label>
<label style="margin-left:30px;">Senha:
<input type="password" name="senha" id="senha" value="" placeholder="Digite sua senha..." /></label>
<label style="margin-left:30px;margin-top:30px;">
<button name="Submit" type="submit" value=“” style=“medium”>OK</button></label>
</form>
</div><!--fim login-->