- see footer for list info -<
BTW to save you some effort you can have your form submit to itself.

That way you only have one form and it is easier to catch and process errors

At the top of the page you cfparam the form fields with default values so
that first time through it does not fail.

then you check if the submit button exists in the form scope - if it does
the form has been submitted so do the action page code else display the
form.

If the modify/edit button has been pressed then do the select and update
your form fields before you display the form.

If this single page starts to get long you can break it up using cfincludes.

If you find you like this approach checkout the fusebox framework which
basically formalizes this way of working.


--
Mike T
Blog http://www.socialpoints.com/
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to