Is this perhaps not the only <form..> on the page? -----Original Message----- From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 11:14 AM To: CF-Talk Subject: Re: Form strangeness
Ok ... Now this is weird. With some more exploring on this, I found that when the form is submitted, I get the following in the cgi scope: Content_type: application/x-www-form-urlencoded Request_method: GET Even though the form is clearly a POST. Has anyone encountered this? On 6/12/07 10:45 AM, "Charles Sheehan-Miles" <[EMAIL PROTECTED]> wrote: > Hello all, > > Quick question, I'm wondering if anyone has ever encountered this. > > I have a page that submits a form back to itself. I'm testing for the > contents by doing a simple cfdump for the form scope. When I submit the > form, the page reloads, and nothing submits. The form scope shows an empty > structure. > > Here's what it looks like: > > > <cfif IsDefined("Form.MM_SendCampaign") and Form.MM_SendCampaign eq > "Submit"> > > <cfinvoke component="com.members.congress" method="processCampaign" > returnvariable="message"> > > <cfinvokeargument name="form" value="#form#"> > > <cfinvokeargument name="orgid" value="#application.app.orgid#"> > > <cfinvokeargument name="memberid" value="#client.memberid#"> > > <cfinvokeargument name="campaignid" value="#request.rq.campaignid#"> > > </cfinvoke> > > > > > <!--- OUTPUT RESULTS FROM CAMPAIGN PROCESSING ---> > > <h3><cfoutput>#message#</cfoutput></h3> > > </cfif> > > > <FORM METHOD="POST" ACTION="#actionpage#"> > > <div id="campaigninfo"> > > <div id="memberform"> > > > > > .... Some logic to determine which fields to display. This is working > properly.... > </div> > > <h5><img src="/images/alert.gif">Finished? <input name="submit" > type="submit" value="Send my message!"></h5> > > > > </div> > > <input type="hidden" name="MM_SendCampaign" value="Submit"> > > </FORM> > > -- Charles Sheehan-Miles http://www.sheehanmiles.com Author of Republic: A Novel of America's Future http://www.amazon.com/gp/product/0979411424?tag=sheehanmiles-20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280828 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4