I currently have a page in an app where I need to show a form which has multiple rows which can be updated and multiple columns in the row which can be updated as well. I have a method "display" which shows the page, and the display component invokes the "showForm" method which outputs the form and the data. When the user submits the form, I call another method "validateData". If the data is correct, then I redisplay the page, if there is a validation error, then I pass the error to the "display" method, which shows the error and then the form...
The problem I am having is keeping the invalid form data when there is a validation error. Currently in the form I am using a cfoutput to display the data, and am wondering if there is a way to keep the form values (I can look at the debugger and know the invalid values exist) after leaving the form and not re-using the query? Thanks in advance for the wisdom...
The problem I am having is keeping the invalid form data when there is a validation error. Currently in the form I am using a cfoutput to display the data, and am wondering if there is a way to keep the form values (I can look at the debugger and know the invalid values exist) after leaving the form and not re-using the query? Thanks in advance for the wisdom...