I have a form to send data by GET
and I want to send an additional data annexing it to the URL, the code is:
<form action="/Libro?accion=salvar" method="get">
<label for="titulo">Titulo</label>
<br>
<input type="text" id="titulo" name="titulo">
<br>
<br>
<label for="categoria">Categoria</label>
<br>
<input type="text" id="categoria" name="categoria">
<br>
<input type="submit" value="Guardar cambios">
</form>
When I give him submit the following url is sent:
Libro?titulo=Inferno&categoria=Literatura
But the variable accion=salvar
that I want to send is not sent, I do not know how to send that additional variable to the other page in the same url.