Forum Moderators: open
<form method="get" action="test.php?a=1&b=2">
<input type="submit" name="c" value="3" />
</form>
This will call: "test.php?c=3"
Is there a way to add some parameters to the url inside the "action" attribute in a way that they WILL be used?
I'd like the above example to call "test.php?a=1&b=2&c=3"
Why doesn't the form use them?
They probably just took the easy route and truncated from the? on and then add the parameters as per normal.
Not sure if there is a standard around for this, but if there isn't then results could vary between browser and so putting a parameter in the action is not a safe technique to use.