Is it possible to create an html checkbox form that will output to a url format such as:
?cat=cars+tree
Currently given this:
<form name="input" action="/" method="post" >
<br />Select Categories: <br />
<input type="checkbox" name = "cat" value="cars" /> Cars <br />
<input type="checkbox" name = "cat" value="tree" /> Tree <br />
<input type="checkbox" name = "cat" value="drinks" /> Drinks <br />
<input type="checkbox" name = "cat" value="food" /> Food <br /> <br />
<input type="submit" value="Submit" />
It would create this, if cars and tree are selected:
?cat=cars&cat=tree
No, I am afraid with pure HTML this is not possible, since in the W3C Recommendation for the HTML 4.01 Specification the form URL encoding is specified as follows: