Hi folks
I am creating a form that goes to a preview page, before final submit. The form contains a number of normal textareas, and one that is replaced by FCKeditor.
From the preview page I have a back button to allow people to make changes to the original data they input.
In IE all data stays in the fields when going back, so changes can be made before previewing again and then submitting.
In FF however, when going back to the page where the data was submitted, all data is there in the normal textareas, but the data which was in the FCK textarea gets wiped out.
Any suggestions how this can be prevented?
Thanks
John
I am creating a form that goes to a preview page, before final submit. The form contains a number of normal textareas, and one that is replaced by FCKeditor.
From the preview page I have a back button to allow people to make changes to the original data they input.
In IE all data stays in the fields when going back, so changes can be made before previewing again and then submitting.
In FF however, when going back to the page where the data was submitted, all data is there in the normal textareas, but the data which was in the FCK textarea gets wiped out.
Any suggestions how this can be prevented?
Thanks
John
RE: Firefox back key problem after preview.
<input type=submit name=submit value=preview />
<input type=submit name=submit value=Save/>
Either that or save the data into a temporairy field in the database table.
RE: Firefox back key problem after preview.
I am saving the data temporarily, although I am not sure how ( I am using FormProcessorPro ).
I guess I could tell people to use the preview button of FCK
Without FCK I could go back to the submit page from the preview page and the field would still contain the data.
I think what is happening is that the FCK javascript replaces the textarea AND its content if you go "back" to the submit page. But I don't understand why it would do that in Firefox and not in Internet Exploder. Probably using the BACK key in IE does not redraw the page somehow.
Thanks