Hi Paul,

Paul wrote:
I have a .php page. There are several form fields. When I populate
the fields, submit to another page, and then use the browser's back
button, the data is still there. This is indeed what I want.

HOWEVER, when one field has a javascript event (ie. onClick open a
browser window) when I submit the form, and try to go back, the data
is gone :(

Question: are you really filling the form with the values sent by the user with, say, PHP, or are you relying on the ability of some browsers to 'remember' form data?


You should be dynamically filling the form using PHP, then this wouldn't happen, something like:

<input type="text" value="<?php echo $thisItemValue; ?>" name="bla" />

hope it helps.

--


regards,


------------------------------------------------------------
 Nelson Rodríguez-Peña A.
 Diseño y Desarrollo
 Web & Multimedia
------------------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to