I wouldnt do that, what you should do is always fill in the values from submitted values.
I prefer the method of at the top of your form doing <cfparam name="FORM.fieldname" default="#somequery.column#"> and in your form <input type="text" name="fieldname" value="#FORM.fieldname#"> This means that after you check for errors, you can then show them the form again (without needing to go back, just display it again and add the errors to the top of the form) and it will all be filled in with what they entered. HTH MD On 8/30/06, Andrew Peterson <[EMAIL PROTECTED]> wrote: > Hi. > > I open up a page containing form data that was generated from a query. User > makes changes to this data, which prompts a new window to open using > javascript (by design), and in this new window is another form. Data is > entered in this new window, the form is processed, the code interacts with > the database, and the new window closes, placing focus back on original page. > User then submits form on original page. Action page processes form, finds > errors, instructs user to hit the back button to fix them. User hits back > button, and I.E. reruns the query, erasing the figures in the form that the > user just entered. Why does it think it has to requery the form instead of > using form data, and how do I force it to use user-entered data? > > TIA, > Andrew > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:251513 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

