CF8 - just buildin a simple cfform inside a div on a page. Nuthin special. 

So I do my usual routine of processing the form on the same page. 


<cfif StructKeyExists(FORM, "submit")>

process form

</cfif>

ok, so why would the form processing execute when the page loads? Cause that's 
what it's doin, and it's freakin me out a little. 

I know I can switch to a regular form, but wanted to know how CF8 
structKeyExists() knows that form item is on the page, and executes my code. 

Thanks,
Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287749
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to