[ic] [or] tag problems

JT Justman interchange-users@interchange.redhat.com
Tue Sep 4 17:08:01 2001


Okay, I tried to search this on the mailing list archive, but "or" is not
indexed, and nothing relivant was found under all the related phrases I
could think of. There is nearly no info on [or] in the docs.

I'm doing a simple check:

[if value s_cat_1051]
[or value s_cat_1052]
Neck Measurement: <input type="text" name="meas_m_neck" width="8"><BR>
[/if]

If the box for s_cat_1052 is checked on the previous page, the text is
displayed correctly. If the box for s_cat_1051 is checked, nothing is
displayed.

These params are set on the previous page as such:

<input type="checkbox" name="s_cat_1051"> Long Sleeved Dress Shirts <BR>
<input type="checkbox" name="s_cat_1052"> Short Sleeved Dress Shirts <BR>

Also, for testing porposes I put the following right above the if / or part:

1051 [value s_cat_1051]<BR>
1052 [value s_cat_1052]<BR>

Both values return "on".

Removing the [or] tag causes the [if] to work fine.

Is there something I'm missing? Running 4.8.1.

JT