> I have a page where a user comes to the page and submits a form after > filling it out with dropdown menus that are dynamically driven and get > their > info form out tables. > > Now there are times when some one needs to add to this drop down list so I > have a separate page open up that allows the user to add the needed item > which after inserting sends them to a page that has the success message > along with a Close Window Link that refreshes the page below it (using > javascript:window.opener.location.reload();window.close();) so that the > new > item is display in the drop down list. So far so good. > > However, many users fill parts of the form out before they realize that > one > of the menus do not have the info needed. I thought that adding > > title="<?php echo $_POST['form_field']; ?>" > > would cause the values of the field already filled out to be displayed > again > as the page is being refreshed, but they are not.so I guess refresh is not > the same as POST, which of course we don't want to happen as it will POST > the form which is not what we are trying to do. Anyone have any ideas? >
POST data from form fields are usually only sent through a submit request. Maybe changing you Javascript refresh to a submit that redirects back to the same page might help? -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php