QuickForm: having trouble processing form with two URL parameters

From: Date: Tue, 11 Jan 2005 22:33:33 +0000
Subject: QuickForm: having trouble processing form with two URL parameters
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16884@lists.php.net to get a copy of this message
I have one form, FORM_A, that I have coded to edit existing or create new housing registrations. A housing reg has several fields but the two important fields here, regID and houseID. If I want to create a new reg, I pass it the house_ID in the URL. If I want to edit a reg, I pass it the reg_ID. It works great until I added a security check which checks the neighborhoodID (through a join table related to the houseID)against the session variable the user has which is the neighborhoodID. I hope this is making sense so far. The trouble comes when the forms processes because it loses all URL parameters. I have the URL parameters in hidden fields but those appear to be "re-assigned" during processing because when the form is submitted, there are no URL parameters to $_GET. I'm sure I'm not the first person to come across this. Any ideas are appreciated! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.pear.general (#16884) next »