after checking some other forums, it turns out this behaviour is also in
CFMX, and is meant to be a feature, not a bug.  i didn't see any convincing
arguments why this should be.  other than because CFGrid etc only work if
you use POST, and that you can only access the Form scope if you've POSTed
the form.  which is weak.

anyone else care to offer their wisdom on this one?  apart from the obvious
solution which I'll have to take - ditch the CFForm


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                          
                    [EMAIL PROTECTED]                                                  
                                
                    sign.co.uk                         To:     <[EMAIL PROTECTED]>     
                                
                                                       cc:                             
                                          
                    17/03/2004 16:11                   Subject:     Re: [ cf-dev ] 
CFForm method bug?                            
                    Please respond to dev                                              
                                          
                                                                                       
                                          
                                                                                       
                                          




hmm, after re-reading the CFML language reference, it turns out Method
isn't actually one of the recognised attributes for CFForm, which I found
surprising.  So, decided to try using the 'passthrough' attribute instead
for "HTML attributes that are not explicitly supported by CFFORM".

and end up with this:
<FORM NAME="test" ACTION="test.cfm" METHOD=POST onSubmit="return
_CF_checktest(this)" method="GET">


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------



                    [EMAIL PROTECTED]

                    sign.co.uk                         To:
<[EMAIL PROTECTED]>
                                                       cc:

                    17/03/2004 16:08                   Subject:     [
cf-dev ] CFForm method bug?
                    Please respond to dev






This is on CF 4.5.  Spot the obvious bug:

coldfusion code:
<cfform name="test" method="GET" action="test.cfm">
<input type="submit">
</cfform>


html:
<FORM NAME="test" ACTION="test.cfm" METHOD=POST onSubmit="return
_CF_checktest(this)">
<input type="submit">
</FORM>

Anyone know if this one was fixed for CF 5?


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]






--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]






-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to