Ask a Question related to Macromedia ColdFusion, Design and Development.
-
cherylnm #1
cfform - Element is undefined in FORM
This is sooo frustrating and weird. I have a form that keeps triggering
Element XXX is undefined in FORM. But, if I view the html source, it shows im
the form. when i submit the form, the sql update works using the form
variable, but i still get the undefined message. i have tried IE and netscape
and both have smae problem.
the action page has somehting like this
<cfif FORM.varialble EQ 2>
<cfquery name="qInsertSystem"
datasource="#APPLICATION.dsn#">
UPDATE tTable
SET thisfield = #FORM.variable#
</cfquery>
</cfif>
the error will say that the variable FORM.variable in line 1 of my code is
undefined, but then it will execute the update query and properly set thisfield
= to the form value (even though a few lines above it said it was undefined).
any suggestions?
thanks!
cherylnm Guest
-
Element is undefined
I get the message Form Element TXTSEARCH is undefined with this code: <cfset Session.Description = #Form.txtSearch#> I have a textbox called... -
Undefined element in form - Please Help
I keep on getting a message displayed stating that I have an undefined element in a form - I have checked and everything looks OK - did a <cfdump>... -
Undefined element in form
I keep on getting a message - Element STARTTIME_HOUR is undefined in FORM ??? I have checked everything that I can think of and can see... -
Element (.....) is undefined in FORM
I am getting this error message after I submit a form (parts request):Error Occurred While Processing Request Element LIPSEALS4044 is undefined in... -
Styling of cfform and its element
It seems that with all the styples provided to costumerize the cfform , cfformgroup and so on, I cant seem to get rid of the space between a button... -
cherylnm #2
Re: cfform - Element is undefined in FORM
well - in case anyone else ever has this problem, the only way i could figure
out how to solve it was by making the forms aciton page a separate page (i had
it all in one page before). i even tried making the form a regular <form>
instead of <cfform> and that still did not work. really weird! oh well.
cherylnm Guest
-
javabuzz #3
Re: cfform - Element is undefined in FORM
set your variables (initialize) first before everything else.
<cfset variablename ="">
Then you should be ok (Sounds like you're posting back to form?)
javabuzz Guest



Reply With Quote

