Hello everyone,

I have a list that is populated by a form sumbit and it looks like
this, but will have more names.

  <cfset namelist = "#form.name1#, #form.name2#, #form.name3#" >

  Is there a way to count the elements in that list?

  I have a form with 10 name textboxes. A user may only submit 2. So
  my namelist will be jo, bob,,,,,,.

  What I would like is something like, and the existing functions do
  not seem to help with this:

  CFSET numberofelelents =numberofelents(namelist)


Best regards,
 Jeff Fongemie                          mailto:[EMAIL PROTECTED]

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to