Jump to content

form action


Recommended Posts


é o seguinte... ja tenho o codigo feito mas tou com 1 problema no form eu fiz um form com os seguintes parametros

<form method=post name=registo action="./index.asp?acao="novo">

e mais para baixo tenho o "novo"


If acao ="novo" Then

instDB.Execute "INSERT INTO Assistencias (Numero, [Numero da Assistencia]) VALUES ('900','800')"

end if


eu keria k kuando carrega-se no submit ele abri-se a mesma pagina e corre-se a acao "novo", mas ele está a correr essa accao antes de eu carregar no submit.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.