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

Ed LaFrance edl@newmediaems.com
Thu, 16 Nov 2000 10:19:14 -0800


Well, you just need to go into troubleshooting mode now.  What value is 
output by the tag [value-extended layer_two_select_one]?  Is it what you 
expect? Put it on your middle.html page and find out.  How about [selected 
name="layer_two_select_one" value="manuf a"] on middle.html, then select 
that option in your form?  What exactly did you see at //some text - was it 
the value you selected on the previous page, is it what you are trying to 
qualify?

- Ed L.


At 12:36 PM 11/16/00 -0500, you wrote:
>Thanks for the fast reply.
>
>Ed LaFrance <edl@newmediaems.com> writes:
>
> > [selected name=box_name value="[scratch selected_value]"]
> >
>
>Tried this and [selected name="box_name" value="[scratch
>selected_value"]]; didn't work.  More details:
>
>My form looks like this:
>
><form action="[area middle]" method="post">
>   <select name="layer_two_select_one"
>onChange="reactToFormChange(this)">
><option value="manuf a">manuf a</option>
><option vlaue="manuf b">manuf b</option>
></select>
><select name="layer_two_select_two" onChange="this.form.submit()">
><option value="model a">model a</option>
><option value="model b">model b</option>
></select>
></form>
>
>Then in middle.html I have:
>
>[seti selected_manuf][value-extended layer_two_select_one][/seti]
>[seti selected_model][value-extended layer_two_select_two][/seti]
>// [scratch selected_manuf]
>// [selected name="layer_two_select_one" value="[scratch selected_manuf]"]
>
>What I get out is:
>
>// some text
>//
>
>Notice that the selected tag isn't returning true.  I'm guessing
>either a typo or something silly.  Any guesses which and where?
>--
>  (__)  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
>Interchange-users@www.minivend.com
>http://www.minivend.com/mailman/listinfo/interchange-users

 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>