David,

Here is the piece of the code that is not working.  Hope someone can help
with this issue.

------ START CODE SAMPLE --------

<form method="post"
action="<cfoutput>#cgi.script_name#?#cgi.query_string#</cfoutput>"
enctype="multipart/form-data">
        <cfif NOT IsDefined("variables.okToEditEvent")>
                <input type="hidden" name="New" value="1">
        <cfelse>
                <cfoutput>
                        <input type="hidden" name="EventID" value="#url.EventID#">
                </cfoutput>
        </cfif>

        Event Name:<br>
        <input type="text" size="50" name="EventName"
value="<cfoutput>#EventName#</cfoutput>"><br><br>

        Event Image:
        <input type="file" size="50" name="EventImage"><br><br>

<!--- More form fields, etc. --->

------ END CODE SAMPLE ---------


Again the error code that it returns is:

----- ERROR MESSAGE STARTS ------

Error Diagnostic Information
Parameter 1 of function IsDefined which is now "Caller.ATTRIBUTES.1" must be
a syntactically valid variable name

The error occurred while evaluating the expression:


 refindnocase("[[:alpha:]]",left(trim(field),1)) and NOT
SDEFINED( 'Caller.ATTRIBUTES.' & trim(field) )




The error occurred while processing an element with a general identifier of
(CFIF), occupying document position (83:3) to (83:112).

----- ERROR MESSAGE ENDS ------



Thanks,

Jeff Stone
[EMAIL PROTECTED]

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to