As Felix says, this requires JavaScript. It would be something like:
<script type="text/javascript">
window.addEventListener("load", function()
{
document.getElementById("myForm").addEventListener("submit", function()
{
var id = document.getElementById("id").value;
var name = document.getElementById("name").value;
window.location = [window.location.replace(/\/$/, ''), id, name].join("/");
}, false);
}, false);
</script>
<form action = "" id = "myForm" method = "get">
<input type = "text" name = "id" id = "id" value = "3" />
<input type = "text" name = "name" id = "name" value = "gloris" />
<input type = "submit" class = "button_big" name = "submit" id = "submit" value = "SEND" />
</form>
Note that I added id
attributes so we can use document.getElementById
. Also, there is no input type "input". It should be text
, or you can leave it off. You can add more fields just be adding to the array in the desired order.