If you are submittiing the form to itself (to the same page that contains the form), then what I do typically is:
- Add <cfparam> tags at the top of the page to define defaults for the form fields, usually an empty string: <cfparam name="form.myField" default="">
- Put the form inside a <cfoutput> block.
- Put the default values into the form fields: <input id="myField" name="myField" type="text" value="#form.myField#">
Now the form will show the value that was submitted to it. No hidden form fields required.
-Carl V.