Accessing a form variable before the form is posted
| From: | Ma Siva Kumar | Date: | Fri, 21 Jun 2002 15:45:17 +0000 |
| Subject: | Accessing a form variable before the form is posted | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103250@lists.php.net to get a copy of this message | ||
My function for generating a select menu for a city sets the select name to
form[city_id].
In one of the forms, there is a selection for City in the address details as
well as one for the port of destination. If I use the function both the the
select name will be form[city_id]. The port of destination selection
overwrites the form[city_id] from the selection of City.
Is there a way to access the first form[city_id] for assigning to another
variable?
In short is it possible to access a variable from the form before the form is
posted?
Best regards,
Siva,
--
Ma Siva Kumar
BSG LeatherLink,
Tamil Nadu, India - 600040
Email: siva@leatherlink.net
Website: http://www.leatherlink.net/