Although CF is all too happy to display the form fields submitted on a page, I do not think you can have variables names with "-" in them?

Aaron

----- Original Message -----
From: Shahzad.Butt
To: CF-Talk
Sent: Thursday, June 24, 2004 7:48 PM
Subject: Evaluate?

Hello - can you please check the code below

<CFSet GetAllContactTypes.PK_ContactType_ID =
"CAA07070-CD2A-46D6-951F-653630BFD539">

<cfoutput>

<CFSet a = #Evaluate("Form."&"#GetAllContactTypes.PK_ContactType_ID#")#>

</cfoutput>

Its giving error though from the previous page value of form variable
named "CAA07070-CD2A-46D6-951F-653630BFD539" is passed to this page.



Error Diagnostic Information

An error occurred while evaluating the _expression_:

a = #Evaluate("Form."&"#GetAllContactTypes.PK_ContactType_ID#")#

Error near line 10, column 18.

  _____  

An error has occurred while processing the _expression_:

   Form.CAA07070-CD2A-46D6-951F-653630BFD539

Invalid parser construct found on line 1 at position 22. ColdFusion was
looking at the following text:

D6

Form Fields:

02E4F04B-4893-442D-AEAB-859F607B52B1=
02F2DF44-7063-4217-9052-C5E4179CBC73=
CAA07070-CD2A-46D6-951F-653630BFD539=fdf

**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for use by the individual or entity to
whom it is addressed. If you have received this e-mail in
error, kindly notify [EMAIL PROTECTED] or call
+44 1992 701 704. Unless stated otherwise, please note
that any views or opinions expressed in this e-mail are solely
that of the author and are not necessarily of
JJ Fast Food Distribution Limited. The company can not
assure that the integrity of this communication has been
maintained nor that it is free of errors, virus, interception or
interference. The company accepts no liability for any
damage caused by this email. JJ Fast Food Distribution
Limited reserves the right to monitor and or record e-mail
without prior notification.
**********************************************************************
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to