hello all,
i'm having an issue where the back button i created (not the browser back) is causing me to lose data. allow me to explain:
i have three pages. page one is a short form where the user enters in their name (first, mi, last) and a number and there's a y/n radio button. the user then clicks submit and is taken to page two. page two is a review of the data provided on page one. if all is well the user clicks submit and is taken to page three. page three is a confirmation page which displays the same data as page two. it's a little redundant, but that's what they asked for.
here's where the issue lies. on page two there's a back button i created. if the user clicks on it they are taken back to page one, and their data is there. (i just did a js history.go(-1)) the user can then change the data or not, and click submit to return to page two. once back on page two, they can hit back again. if they do, page one comes up but the form is blank.
i have a cfform tag in page one to direct the stored info to page two, and the same from page two to page three. i tried to do the same from page two to page one, but there's always some issue.
does anyone have any suggestions? thanks!