Invalid CFML construct error -- cfscript
I'm having a hard time figuring out the root of this error. Everything looks fine to me, and I've tried several different things...
Invalid CFML construct found on line 40 at column 22.
ColdFusion was looking at the following text: Invalid
The function is (line 40 is highlighted in blue)....
<cfscript>
function isValidAddress( address1, address2 )
{
if( Len(address1) )
{
return "Invalid Address empty string passed for address line 1.";
}
...
...
}
I've also tried created a string, and setting that string in the body of the if statement instead of returning.
....
var resultStr = "";
if( Len(address1) )
{
resultStr = "Invalid Address. Empty string passed for address line 1.";
}
...
return resultStr;
But I still receive the same error. Any help?? Thanks in advance!!
