Hi,

Tried what you did. That didn't work for me. It doesn't get to the form
processing bit of the same page. Via the weptop, it jumps directly from the
edit page to the view. Same problem I was having initially.

It appears that the only combination of <CFA_Handler>, <CFOUTPUT>, and
<FORM> tags that work is:

<CFA_Handler>
<!--- if submitted --->
<!--- form processing --->
<!--- else --->
<form action="#cgi.script_name#?objectID=#News.objectID#" method="POST">
<CFOUTPUT>
        ....
</CFOUTPUT>
</form>
</CFA_Handler>

Cheers,
Jon


-----Original Message-----
From: Alan Ford [mailto:[EMAIL PROTECTED]]
Sent: 07 July 2000 12:02
To: [EMAIL PROTECTED]
Subject: Re: [Edit handlers] Do you need form or cfform?

When you say option 2 does not work, what happens? Do you have any other
working edit handlers? I've got several edit handlers working - below is the
simplest one I have and it works fine. Hopefully you can compare yours and
this one to see if you can spot anything.


<cfa_handler object = "FAQ">
 <cfoutput>
        ...
   <form name="textform" action="#cgi.script_name#?#cgi.query_string#"
method="post">
    <input type="hidden"
     name="returnto"
     value="#cgi.script_name#?objectid=#url.objectid#">
    <input type="hidden"
     name="pass"
     value="1">
        ...
   </form>
  </cfif>
 </cfoutput>
</cfa_handler>
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to