
edl at newmediaems
Jan 3, 2001, 11:53 AM
Post #4 of 4
(143 views)
Permalink
|
At 01:51 PM 1/3/01 -0500, you wrote: >Ed - > >Thanks, that fixed the problem! For future reference, could someone explain >why the original code doesn't work? > >Tom > >----- Original Message ----- >From: "Ed LaFrance" <edl [at] newmediaems> >To: <interchange-users [at] lists> >Sent: Wednesday, January 03, 2001 11:36 AM >Subject: Re: [ic] Using [if] > > > > At 08:57 AM 1/3/01 -0500, you wrote: > > >Please forgive my ignorance, but I've been trying to get the following > > >snippet of code working for the past 3 days with no success. I'm simply > > >try to set an <option> to selected in a loop. Here is the snippet of >code: > > > > > > [list] > > > [if value [value-extended name="mv_searchspec" index="0"] eq > [loop-code]] ..syntax error. The correct form is [if value variable_name eq some_value]. Your expression (above) is essentially [if value some_value eq some_value] - not valid. The "value" type of if expects a variable name for its term, not a variable value. - Ed L. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> New Media E.M.S. Software Solutions for Business 463 Main St., Suite D edl [at] newmediaems Placerville, CA 95667 http://www.newmediaems.com (530) 622-9421 (530) 622-9426 Fax (866) 519-4680 Toll-Free >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|