On Thu, 05 Aug 2004 16:38:28 -0400, Les Mizzell <[EMAIL PROTECTED]> wrote:
> I'm using this to preselect checkboxes:
>
> <cfif pa_LIST contains "3">checked="checked"</cfif>
>
> ....but that ain't correct - because it needs to return true ONLY if the
> entire string in the list = "3".
>
> Currently, "37" or "43" would return true as well.
>
> So, for a string of "3,33,43,73" how do I get it to return true for ONLY
> "3"?
>
> I'm a little unclear as to the exact syntax...
Use ListFind().
Regards,
Dave.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- CFMX and PostgreSQL 7.X Marco Antonio C. Santos
- Re: CFMX and PostgreSQL 7.X Jochem van Dieten
- Re: CFMX and PostgreSQL 7.X Jordan Michaels
- Re: CFMX and PostgreSQL 7.X Marco Antonio C. Santos
- Re: CFMX and PostgreSQL 7.X Jochem van Dieten
- Re: CFMX and PostgreSQL 7.X Marco Antonio C. Santos
- If "x" is in a list problem Les Mizzell
- Re: If "x" is in a list pro... Dave Carabetta
- Re: If "x" is in a list... Joe Rinehart
- Re: If "x" is in a... Les Mizzell
- Re: If "x" is in a list pro... Ray Champagne
- Re: If "x" is in a list... Ray Champagne
- Re: CFMX and PostgreSQL 7.X Jordan Michaels