Re: PHP, Javascript, and Forms

From: Date: Wed, 31 May 2006 02:59:20 +0000
Subject: Re: PHP, Javascript, and Forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-237121@lists.php.net to get a copy of this message
At 10:03 PM -0400 5/30/06, Beauford wrote: >Hi, > >I have a form with about 20 fields in it and have two drop down menus in >which the second one changes depending on the previous one. This is done >with a javascript which reloads the page. > >The problem with this is that everything the user has put in so far gets >erased when the page reloads. I am using PHP sessions, but at this point >these fields are not saved yet. > >Is there a way to do this using sessions, or some other PHP function. All >the javascript I've looked at reloads the page. > >This also screws up my validation routines. > >Thanks > >B B: Use ajax to populate the php session variables. tedd -- ------------------------------------------------------------------------------------ http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#237121) next »