[CODE]<form name=”sort_by_size” action=”page_’.$brand.’.php” method=”POST”>
<SELECT NAME=”size” SIZE=”1″>
<OPTION VALUE=”small”>Small
<OPTION VALUE=”medium”>Medium
<OPTION VALUE=”large”>Large
<OPTION VALUE=”xl”>XL
</SELECT>
<SELECT NAME=”brand” SIZE=”1″>
<OPTION VALUE=”1″>company 1
<OPTION VALUE=”2″>company 2
<OPTION VALUE=”3″>company 3
<OPTION VALUE=”4″>company 4
</SELECT>
<input type=”submit”>
</form>
Above is my code. What I’m trying to do is if Size ‘Medium’ is selected and company 4 is selected the user will be sent to this page when the form is submitted: /page-4.html?size=medium
Size Large and Company 2: /page-2.html?size=large etc you get the idea.
I’m having a hard time wrapping my head around this. Do I need to use Javascript to accomplish this?
Thanks in advance.