[ic] Can I use the selected tag testing with a scratch variable?

Ed LaFrance edl@newmediaems.com
Thu, 16 Nov 2000 08:42:11 -0800

At 01:04 AM 11/16/00 -0500, you wrote:
>I have a form with a selection box that gets submitted on one page.
>On the next page I am trying to determine what the selected value
>was.  I can actually get the value of the selection box with
>[value-extended box_name].  I have set a scratch variable to this.
>Now I'm trying to test selection against either that value-extended or
>the scratch variable like this:
>[seti selected_value][value-extended box_name][/seti]
>[selected box_name scratch selected_value]

[selected name=box_name value="[scratch selected_value]"]

- Ed L.

>I'm hoping to just get the text 'SELECTED' in my page.  Once I get the
>selected tag to return "true" I can worry about putting it in the
>right place later.  What am I doing wrong here?
>  (__)  Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
>  oo /  Unix Hacker
>  |_/   "It's too late for paradise" (at least in this life)
>Interchange-users mailing list

New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          edl@newmediaems.com
Placerville, CA  95667         http://www.newmediaems.com
(530) 622-9421                 (530) 622-9426 Fax
(866) 519-4680 Toll-Free