[ic] [or] tag problems

JT Justman interchange-users@interchange.redhat.com
Tue Sep 4 18:44:00 2001


----- Original Message -----
From: "Mike Heins" <mheins@redhat.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, September 04, 2001 2:43 PM
Subject: Re: [ic] [or] tag problems

> Yes -- you aren't thinking about HTML behavior.
>
> If a checkbox is off, the browser doesn't submit anything for it, i.e.
> you don't get /cgi-bin/yourcat?s_cat_1051=&s_cat_1052=on, you get
> only /cgi-bin/yourcat?s_cat_1052=on.
>
> So, Interchange has no idea you want to reset the persistent value
> s_cat_1051.
>
> Probably what you want is:
>
> [if cgi s_cat_1051]
> [or cgi s_cat_1052]
> Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR>
> [/if]
>

Maybe I wasn't clear... I am checking the box, and the value is being passed
as true. It's simply not evaluating as I expect. Also, all of the variables
are explicitly reset on the previous page.

I tried changing 'value' to 'cgi', but there was no change.

Still stumped,

JT