4
I have the following code:
<form action="paginas/login.php">
<p id="log">Usuário: </p> <input id="cmpG" type="text" name="usuario"/>
<p id="log">Senha: </p> <input id="cmpG" type="password" name="senha" size=8 maxlength=8/>
<p id="log">A senha deve conter 08 caracteres (alfanumerico)</p>
<!-- Barra de botões -->
<div id="barra">
<input id="bnt" type="submit" value="Login"/>
<input id="bnt" type="reset" value="Limpar"/>
<BUTTON >Cadastrar</BUTTON>
</div>
</form>
Well, I don’t know how to do the sign-up button, I tried with input
and kind submit
, but it goes to the page login.php
also, how to make it go to another page?
And you expected him to do what? It doesn’t go to another page magically. Or it has to be in another
form
or you have to create a custom action for it.– Maniero
Went to a page
cadastro.php
but I don’t know if that’s possible, I’m just trying to do rs, without reference or anything.. The idea would be to have two pages as destination for the form, if the user presses the X button he goes to page X and if press Y go to page Y, both passing parameters.– Leonardo