Set the <form> action to be
get instead of
post
That will parse all your field values into the HREF url, instead of sending them hidden.
Or if you have something else in mind, the
$field_name in PHP will allways hold the value of the given field, no matter if its hidden or displayed.
Else if its JavaScript, you just need to:
Code:
document.form_name.field_name.value = "what ever you want";
that'll set the value of any field, no matter if it's hidden or wahtever.
In order to get some info from the HREF, you can make some parsing of the
document.href and split it up, with the use of
document.href.indexOf("some_field_name=") and then search for the next
& or end of url line. and that'll be the value assigned to that field hidden in the HREF.
Altho its URL-encoded it'll be quite easy to convert back.