The action page doesnt have to be another page. If can be the same page, with the form submitting to itself.
Thats my normal method of operation - i have form at the bottom, adn the action code at the top, sometimes with a redirect to another page after the action has been processed. But as Charlie says, if you're doing anything with the data otehr than simply displaying it, you need an action page. Thats not just ColdFusion - all HTML forms have to submit TO something. thats how it all works. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 9/22/06, Charlie Griefer <[EMAIL PROTECTED]> wrote: > if you're storing data in the database, you still need to go back to > the server. so you need an action page (unless you go some AJAX > route, i suppose). Whether or not the action page displays anything > is another matter...but you'd still need an action page. > > On 9/21/06, Richard White <[EMAIL PROTECTED]> wrote: > > Hi, just a quick question about good practise. I was wondering whether it > > was always good practise for every form to have an action page, even if it > > is simply to store data in a database, even if you can do an onclick event > > on the cfinclude button type. > > > > This is the way that the coldfusion developers manual teaches you but i > > dont always see the benefit unless the action page is going to be a new > > page that is being displayed and is using the data submitted from the > > previous page. > > > > Thanks for any advice > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253754 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

