Hi:
I wanted to make some sort of search for my website that has check boxes. They
look very very clean and easy to use for most users. I found a great help in
(http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData7.htm)
I write down some parts of
Ali Majdzadeh wrote:
http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData7.htm
input type=checkbox
name=SelectedDepts
value=Training
Trainingbr
In the livedoc the values weren't set dynamicly. Is it possible that the
SelectDepts reads from
I stopped using cfform many years ago.
I haven't even used cfinsert or cfupdate for about 6 years.
I've managed to even use cfqueryparam in my queries for the last
4 or so years!
Man, I'm high speed! ;o)
Now, if I could just figure out how to create a CFC, I'd feel
worthy. I'm still in the old
Just provide some online demos so I can see if the tags
are worth the money... can't believe they didn't provide
full demos of the products capabilities.
Rick
-Original Message-
From: Dave l [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 24, 2007 12:28 AM
To: CF-Talk
Subject:
hi, i've got a csv file with a comma delimiter. i use cfhttp to retrieve it and
upload the data into a database. before uploading i want to check each row to
make sure it has the right number of commas. i know about ListLen to tell me
how big the list is but how do i loop through each
if it's windows the following should loop through the rows...
cfloop list=#cfhttp.fileContent# delimiters=#chr(10)# index=thisRow
~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles
To change format:
1. Click Report
2. Click Report Properties
3. Select output type from Default Output Format drop-down menu.
~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and
Hey all,
I'm thinking of creating a manager app for my sites in a Plesk environment to
deal with the DB creation and each site's site options in the CMS, but don't
want to have to go through three interfaces to create a new site: (1) Plesk to
create the IIS site and SmarterMail domain, (2) HSP
and this should work on any system:
cfloop list=#cfhttp.fileContent# delimiters=#chr(13)##chr(10)#
index=thisRow
cf treats consecutive delimiters as one, and here is a caveat with your
proposed ListLen use:
if your list = a,b,c,,,f then listlen(yourlist) will return 4, not 6.
---
Azadi
I'll put some up.
It's funny, the images they use on their site aren't even made with the tag,
it's just an reg image lol
So far its ok, i really don't like that it seems to need to create a new image
file everytime which would lead to a maintenance nightmare. I was kinda hoping
you could just
thanks for the suggestion.
hmm...i did not know about ListLen treating consecutive delimiters as one.
what can be used instead to determine how many commas , are in each row?
sebastian
cf treats consecutive delimiters as one, and here is a caveat with your
proposed ListLen use:
if your
hmm...i did not know about ListLen treating consecutive delimiters as one.
No, I think cfloop and listLen both process each delimiter separately. ie
delimiters=ab is treated as the delimiter is either a or b
Janet
~|
Get
i found this solution on the web
cfset list = 1,2,3,,59,10
cfset counter = 0
cfoutput
cfloop index=thisElement list=#replace( list, ',', ', ', 'All' )#
delimiters=,
cfset counter = counter + 1
Element #counter#: #trim( thisElement )#br
/cfloop
brbr
#counter#
/cfoutput
Any regex gurus out there know if there is a pattern to test the number of
commas in a string? I was thinking something along these lines but this doesn't
quite do it. I'm lousy at regex ;)
cfset list = 1,2,3,,59,10
cfset matched = reFindNoCase(([^,]*?,[^,]*?){9,9}, list)
cfif matched gt
*Sorry, no staffing companies will be considered*
*Sorry, no outsourcing companies will be considered*
Immediately seeking full-time software engineers to join our growing consulting
company. We are currently looking for Mid to Sr level software engineers. The
position is in Arlington VA, and
15 matches
Mail list logo