Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HELP! Newbie in HTML

1 view
Skip to first unread message

WuFei

unread,
Apr 19, 2006, 9:53:47 AM4/19/06
to
Context:
My first HTML page has a combo box (select menu) to choose a product
category and 3 buttons. The first button gets to the second HTML page
where I will have a list of products from the selected category
displayed in a table. By pressing the header of one table column, the
table will be sorted following that column (so, my second page is
refreshed with the table ordered correctly). The 2 other buttons go to
the same page also but displays other stuffs.

Problem:
I think I have to send the pressed button parameter and the selected
product category as url parameters (because at the second page, when I
have to refresh the table and thus, the whole page, I will have to
access to the first page value (#form.Submit#) and these values will
not be available anymore. But how do I pass these 2 parameters in the
URL.

For example:
<select name="family">
<option value="None_Selected"></option>
...
</select>
...

<form
action="SecondPage.cfm?ProductFamily=#form.family#&PressedButton=A"
method="post">
<input name="Submit" type="submit" value="A">
</form>
<form
action="SecondPage.cfm.cfm?ProductFamily=#form.family#&PressedButton=B"
method="post">
<input name="Submit" type="submit" value="B">
</form>
<form
action="SecondPage.cfm?ProductFamily=#form.family#&PressedButton=C"
method="post">
<input name="Submit" type="submit" value="C">
</form>

In the second page, how can I store these url parameters and use them
as variables?

Can you check this code, because it doesn't work at all. I don't want
to use any script, just HTML.

0 new messages