I am trying to use one template to work as action page for Edit/Add. The calling template passes URL variables to trigger proper behavior in action page.
Following line of code is sample of what I am using throughout the template. I commented out the first few and they all keep on returning same error.
THE LINE OF CODE LOOKS LIKE THIS:
<cfinput name="DstCode" length="20" maxlength="20" required="yes" message="You Must Enter A Code!" type="text" <cfif URL.Method eq "EDIT">value="#getDist.DstCode#"</cfif>>
I GET THIS ERROR:
------------------------------------------------
Just in time compilation error
Invalid token found on line 67 at position 70. ColdFusion was looking at the following text:
<
Invalid expression element. The usual cause of this error is a misspelling in the expression text.
The last successfully parsed CFML construct was a CFINPUT tag occupying document position (67:7) to (67:14).
---------------------------------------------------
A) I have a query named getDist
B) The URL variable exists
C) Field name matches that on table
What am I doing wrong?
Thank you all in advance;
josel
If you have the knowledge, consult and educate those who need it! - Jose Lerebours
Following line of code is sample of what I am using throughout the template. I commented out the first few and they all keep on returning same error.
THE LINE OF CODE LOOKS LIKE THIS:
<cfinput name="DstCode" length="20" maxlength="20" required="yes" message="You Must Enter A Code!" type="text" <cfif URL.Method eq "EDIT">value="#getDist.DstCode#"</cfif>>
I GET THIS ERROR:
------------------------------------------------
Just in time compilation error
Invalid token found on line 67 at position 70. ColdFusion was looking at the following text:
<
Invalid expression element. The usual cause of this error is a misspelling in the expression text.
The last successfully parsed CFML construct was a CFINPUT tag occupying document position (67:7) to (67:14).
---------------------------------------------------
A) I have a query named getDist
B) The URL variable exists
C) Field name matches that on table
What am I doing wrong?
Thank you all in advance;
josel
If you have the knowledge, consult and educate those who need it! - Jose Lerebours