Yes, that's possible, but somewhat involved. The following is all off the top of my head: Basically, you'd first set the "METHOD" attribute of your form tag to "POST" and add a "name" or "id" attribute to it as well, and then add a "name" or "id" value to your checkboxes (in your case, "a", "b", and "c"). Then, you'd create a javascript function which would be called when a user selected a link (href="javascript
:sendValues()" or something like that). Your Javascript function would then record the "Checked" property of each checkbox that has the name/id value of the checkboxes in question by appending it to a string which would become the queryString value of your url. Next, you would set the form.action property to the url you want to post to (with the appropriate query string appended to it), and then finally fire off the "form.submit()" method for your form. Something like this:
Code:
<script language="JavaScript">
function sendValues() {
var qString = "?a=" + document.myForm.a.checked + "&b=" + document.myForm.b.checked + "&c=" + document.myForm.c.checked;
document.myForm.action = document.myForm.action + qString;
document.myForm.submit();
}
</script>
The form would look something like this:
Code:
<form name="myForm" action="myresult.html" method="POST">
<h2>Some checkboxes</h2>
A) <input type="checkbox" name="a"/><br/>
B) <input type="checkbox" name="b"/><br/>
c) <input type="checkbox" name="c"/><br/>
Click the link:
<a href="javascript:sendValues()">Send the values</a>
</form>
Again, this is all off the top of my head, there are probably better ways to do this - you may want to get a quick JavaScript primer from something like this:
http://www.irt.org/xref/index.htm
Hope this helps a little.