Embedding Vortex in Html (dropdown)

Post Reply
Dsquared
Posts: 7
Joined: Thu Oct 04, 2001 1:40 pm

Embedding Vortex in Html (dropdown)

Post by Dsquared »

I'm trying to select the correct drop down option based on what the user last selected. The code below works but simply states:

----------------------------------------------------------------------------------------------------------------
Option 1
Option 2

or

Option 1 selected
Option 2

or

Option 1
Option 2 selected
----------------------------------------------------------------------------------------------------------------
See code below:
----------------------------------------------------------------------------------------------------------------
<select name="dropdown" size="1">
<option value="1" >Option 1 <if $searchtype eq "1">selected</if></option>
<option value="2" >Option 2<if $searchtype eq "2">selected</if></option>
</select>
----------------------------------------------------------------------------------------------------------------
When I try to do this:
----------------------------------------------------------------------------------------------------------------
<select name="dropdown" size="1">
<option value="1" <if $searchtype eq "1">selected</if>>Option 1 </option>
<option value="2" <if $searchtype eq "2">selected</if> >Option 2</option>
</select>
----------------------------------------------------------------------------------------------------------------
I get an error:
----------------------------------------------------------------------------------------------------------------
Texis Web Script (Vortex) Copyright © 1996-2001 Thunderstone - EPI, Inc.
Commercial Version 4.00.998085264 of Aug 17, 2001 (i686-intel-winnt-32)

Error
015 /texis/search:37: Tag missing closing `>' bracket
----------------------------------------------------------------------------------------------------------------
Any ideas?
bart
Posts: 251
Joined: Wed Apr 26, 2000 12:42 am

Embedding Vortex in Html (dropdown)

Post by bart »

Post Reply