----- Original Message -----
From: Scott Brady <[EMAIL PROTECTED]>
Date: Sun, 30 May 2004 10:08:22 -0600
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Re: Retrieving the delimited form field
Spectrum WebDesign wrote:
> Hi all
>
> this is my SELECT field form....
>
> <select name="profs" required="No" >
> <option>Please make choice</option>
> <option value="30||MEDICINE">MEDICINE</option>
> <option value="107||WEB DEVELOPER">WEB DEVELOPER</option>
> </select>
>
> How to retrieve the first and second vars? Maybe ideas, tips, best
> practices about how to make an "smarter" form...
You can use the List functions or GetToken() to split the values.
I haven't tried using "||" as a delimiter, but I often use a single pipe
"|" as a delimeter, and that works just fine.
Scott
--
---------------------------
Scott Brady
http://www.scottbrady.net/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

