The Error struct. can't forget that one.
Charlie Griefer wrote:
> On 12/19/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
>> On 12/19/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>>
>>> It's probably worth mentioning then, that *ALL* of the ColdFusion scopes
>>> are structures.
>>>
Man, you just can't get these people to disregard anything. ;o)
lol!
Cheers,
Chris
Charlie Griefer wrote:
> On 12/19/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
>> On 12/19/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>>
>>> It's probably worth mentioning then, that *ALL* of th
On 12/19/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> On 12/19/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> > It's probably worth mentioning then, that *ALL* of the ColdFusion scopes
> > are structures.
> >Server,
> >Application,
> >Client,
> >Variables,
> >This (in C
On 12/19/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> It's probably worth mentioning then, that *ALL* of the ColdFusion scopes
> are structures.
>Server,
>Application,
>Client,
>Variables,
>This (in CFCs),
>Form,
>URL,
>Session,
>Caller (in custom tags)
>
Cfcatch :P
Terrence Ryan
Senior Systems Programmer
Wharton Computing and Information Technology
E-mail: [EMAIL PROTECTED]
-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 3:52 PM
To: CF-Talk
Subject: Re: Disregard
It's probably worth mentioning then, that *ALL* of the ColdFusion scopes
are structures.
Server,
Application,
Client,
Variables,
This (in CFCs),
Form,
URL,
Session,
Caller (in custom tags)
Have I missed any? :o)
Cheers,
Chris
Bruce Sorge wrote:
> yes it is. What was
Oh, that's what you were trying to do. I suppose my email completely
missed the mark then! :o)
No worries. I'm glad someone was able to help you. :o)
Cheers,
Chris
Bruce Sorge wrote:
> Thank you Josh, that was it.
>
> Bruce
>
> On 12/19/06, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
>> Hi B
yes it is. What was messing me up though was not realizing that passed form
fields are actually structures. So, I was basically creating a structure of
a structure when all I had to do was parse through the existing one. Now
that I know that, I understand and will have a much easier time of it next
Bruce,
I had trouble getting my head around structures too (about two years
ago), and now they're like my best friend. :o) I can probably help you
to get your head around them too if you like.
You solved your problem using a two dimensional array. That's fine. That
works, but in referencing it
Thank you Josh, that was it.
Bruce
On 12/19/06, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
> Hi Bruce,
>
> I think you might want to reconsider looping over the field names. You
> are
> trying to insert multiple fields while looping over fields one at a time
> --
> I don't think that will work.
Hi Bruce,
I think you might want to reconsider looping over the field names. You are
trying to insert multiple fields while looping over fields one at a time --
I don't think that will work.
If you know how many groups of fields are coming from the form (the last
number on the end of _ on yo
On 12/19/06, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> Hello all,
> I googled looping through ColdFusion structs but it is
> still not making sense.
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0296.htm
--
Charlie Griefer
"...All the
Hello all,
Well I am still struggling to wrap my head around structures. (this is a
continuation of yesterday's conversation where I have dynamically generated
field names.)
I have the following code:
INSERT INTO tblElection_Committee
(Proc_ID, Name, Phon
From: "Charlie Griefer" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Monday, December 18, 2006 3:02 PM
Subject: Re: Disregard last email
> can we safely assume that all of the dynamically named fields will
> contain underscores and the static fields will not? if s
Yes, we can, but there is still one small issue. I have two tables that are
having information inserted into it. The first one has the dynamic fields
Name_x, Phone_x and Email_x.
The second table has the information from the second group of dynamic fields
Language_x and LanguageSpoken_x.
What I th
can we safely assume that all of the dynamically named fields will
contain underscores and the static fields will not? if so, that'd be
kinda groovy, 'cuz then you should be able to do:
also, throw a trim() inside the len() function to handle any spaces in
the form field value.
On 12/18/06, Br
That did not work Charlie. Not only is it giving me the two static fields,
but also the hidden field and the submit button name.
I did try this though:
This did exclude all of the fields except the ones I want, but it is also
giving me all of the empty ones. If I just do this:
Then I get all o
?
On 12/18/06, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> Not sure really.
> What I have are a total of five dynamically named form fields. They are:
>
> Name_X, Phone_x, Email_X for the first group, then
> LanguageName_x, LanguageSpoken_x in the second group.
>
> The first group of information goe
Not sure really.
What I have are a total of five dynamically named form fields. They are:
Name_X, Phone_x, Email_X for the first group, then
LanguageName_x, LanguageSpoken_x in the second group.
The first group of information goes into one table and the second group of
information goes into the s
so, just out of curiousity...why do you need this array?
you also don't need the evaluate(). you can simply do form[i] (which
is -exactly- what you're doing in your conditional where you're
testing len(form[i]).).
On 12/18/06, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> OK, I figure it out so pleas
20 matches
Mail list logo