Outstanding response to my question here on CF-Talk! Thank you very much
Dave, Arsalan, Russ, and Enigment -- the variety of your responses showing
differing ways to accomplish this simple task is great.
Thanks again!
Dakota
On Sat, Oct 23, 2010 at 11:34 AM, Dakota Burns wrote:
> Hi -
>
> I hav
Go with Form["outcome_" & i], not Evaluate or
'#form.outcome##form._ac_id#'. It's just way cleaner.
d
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
You just output them individually, as you are using them in a query you need
do nothing more
Set outcome = '#form.outcome##form._ac_id#'
Russ
-Original Message-
From: Dakota Burns [mailto:dakota.bu...@gmail.com]
Sent: 23 October 2010 17:34
To: cf-talk
Subject: How to Capture
try using:
#Evaluate('outcome_#ac_id#')#
Regards,
Arsalan
--
From: "Dakota Burns"
Sent: Saturday, October 23, 2010 9:34 PM
To: "cf-talk"
Subject: How to Capture Field Name with Two Input Variables
>
> Hi
> I have a form that contains an outcome field, which has an "_#ac_id"
> appended to it so I can properly identify it (their can be many fields
> passed in). I seem to be at a loss for how to output what appears to be two
> variables as one ('#outcome_#ac_id##' -- see below query). Is their a way
Hi -
I have a form that contains an outcome field, which has an "_#ac_id"
appended to it so I can properly identify it (their can be many fields
passed in). I seem to be at a loss for how to output what appears to be two
variables as one ('#outcome_#ac_id##' -- see below query). Is their a way to
l Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 11:41 AM
To: CF-Talk
Subject: Re: OT: Group field name
radio buttons are an array in javascript. you'll need to loop over the
radio button array and check to see if one is checked or not.
function check
A radio group is stored as an array, so you would need to loop over the
array and check to see if any of the buttons were checked --
flag = 0;
for (i=0;i
To: "CF-Talk"
Sent: Friday, April 28, 2006 9:29 AM
Subject: OT: Group field name
> Hello,
>
> I have a field named &q
-Talk
Subject: OT: Group field name
Hello,
I have a field named "sitetype" which is a group name setup as a radio
button.
The script below does not seem to recognize it since it does not generate
the alert when the radio button is not selected. All the cases are correct
for the name.
up name setup as a radio button.
>
> The script below does not seem to recognize it since it does not generate the
> alert when the radio button is not selected. All the cases are correct for
> the name. Is there something missing in the JavaScript below or is a radio
> button group
Group field name
Hello,
I have a field named "sitetype" which is a group name setup as a radio
button.
The script below does not seem to recognize it since it does not generate
the alert when the radio button is not selected. All the cases are correct
for the name. Is there something
JavaScript below or is a radio button
group field name different?
The "onsubmit="return checkform(this);" section is in the parameter.
Thanks.
RO
HWW
<!--
function checkform ( form )
{
// ** START **
if (form.sitetype.value == "") {
alert( "Please ent
---
From: Chris Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 3:51 PM
To: CF-Talk
Subject: Re: Using a form field name as part of the name of a session
variable
>>>
How does the syntax you mentioned not put it in the session scope?
I could be learning something new he
>>>
How does the syntax you mentioned not put it in the session scope?
I could be learning something new here, but isn't the session scope treated like a
struct? You're using struct syntax there.
~|
Purchase from House of Fus
2004 2:08 PM
To: CF-Talk
Subject: Re: Using a form field name as part of the name of a session
variable
This would also work (although it looks kinda strange):
>>> Try this
>>>
>>>
>
>PERFECT. I never would have figured that out on my own. I mean, there
>
>-Original Message-
>From: Ewok [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 19, 2004 12:40 PM
>To: CF-Talk
>Subject: RE: Using a form field name as part of the name of a session
>variable
>
>Try this
>
>
>
>Or something like that... maybe wi
To: CF-Talk
Subject: RE: Using a form field name as part of the name of a session
variable
Try this
Or something like that... maybe without quotes? But I think with.
-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 1:23 PM
To: CF
Try this
Or something like that... maybe without quotes? But I think with.
-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 1:23 PM
To: CF-Talk
Subject: Using a form field name as part of the name of a session variable
Hi,
I
Hi,
I'm hoping this is just a question of syntax. Is it possible to set part
of the name of a session variable using the name of a form variable? The
form name is dynamic too. Here's the code that ain't working:
^
For example, what I'd like to set in the above line
ent: Wednesday, July 18, 2001 11:20 AM
To: CF-Talk
Subject: Using a "-" in a field name.
Hi All,
I am using LDAP queries to update exchange data.
The problem I have encounted is a field in the exchange server is
called
"telephone-office2". Now CF won't let me use field
--- "Picker, Mark P" <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I am using LDAP queries to update exchange data.
>
> The problem I have encounted is a field in the
> exchange server is called
> "telephone-office2". Now CF won't let me use field
> names that have a "-" in
> them.
>
> Does anybod
Hi All,
I am using LDAP queries to update exchange data.
The problem I have encounted is a field in the exchange server is called
"telephone-office2". Now CF won't let me use field names that have a "-" in
them.
Does anybody know a workaround for this? I have tried a combination of
Evaluate a
I have an uploaded file which is turned into a query set. I want to be able
to check that the uploaded file has the field name in it.
---uploaded file: directory.txt
"custno"
"GALC1"
"APER1"
"AALB1"
"SPAL1"
-retrieve fi
evious page passes in a hidden field as: value="S5">.
>
>The #Trim(S5)# is the data; S5 is the field or column name. It interprets
>the data as the field name.
You don't need to set the name of the field dynamically to the name of the
field on the previous page. You shoul
data; S5 is the field or column name. It interprets
the data as the field name. I've been getting an error:
--
Error Diagnostic Information
Field name not found in the specified table.
Table = 'sept_00' Field = 'HHH'
Data Source = "aug_00"
SQL = &q
At 02:44 PM 8/3/00 -0500, you wrote:
>Hello,
>
>How can I strip the # sign's from a field so that just the text shows.
>
>I have the following hidden field:
>
Have you tried wrapping this in CFOUTPUT tags?
--
Archives: h
Do this:
#Evaluate("form.col")#
This will give you the value of the form field col
Dave
- Original Message -
From: Robert Orlini <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 03, 2000 3:44 PM
Subject: field name
> Hello,
>
> How
I am new but I believe #evaluate(form.col)# does this. But like I said
newbie but trying to contribute.
Good Luck David
- Original Message -
From: "Robert Orlini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 03, 2000 12:44 PM
Subject: field n
Hello,
How can I strip the # sign's from a field so that just the text shows.
I have the following hidden field:
S1 is the column name and I need to set it up as a variable for a textarea
to be edited and update the appropriate column in the table.
Here is the textarea specifics:
#col#
The n
This is a multi-part message in MIME format.
--=_NextPart_000_0276_01BFA5A4.FB73E7C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I apologize for the previous message with stationery... Here's my =
message :)
StationeryI have been really
de to work:
#CategoryType#
Although this code above works for this particular form, the input field =
name "Category#CategoryTypeID#" is unusable on the following action form =
where the value is actually used to insert data into the table. I have =
the following on the subsequen
rum
Subject: Changing Field Name in an Access DB
Is there a way to change the properties of a field in a table or add a field
to a table through CF?
Thanks,
---miriam
--
Archives: http://www.eGroups.com/list/cf-t
- Original Message -
From: Miriam Hirschman <[EMAIL PROTECTED]>
To: CF Forum <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 12:09 PM
Subject: Changing Field Name in an Access DB
Is there a way to change the properties of a field in a table or add a field
to a table through
Is there a way to change the properties of a field in a table or add a field
to a table through CF?
Thanks,
---miriam
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion
34 matches
Mail list logo