Page 1 of 1

How can i put a dynamic action for a form?

Posted: Fri Jul 22, 2005 7:48 am
by a_naguib_2000
hi all
i have a function that prints a form, im using the get method, i need the following:
when i submit the form, it passes the names of the controls in it and an additional part that i wanna put it

for example:
when i click submit the url is
http://localhost/newpage.php?button=1st

what i need is to add (&year=2005), for example, when i click submit...
how can i do this???

Posted: Fri Jul 22, 2005 8:06 am
by shiznatix

Code: Select all

<input type='hidden' name='year' value='1995'>

Posted: Fri Jul 22, 2005 8:22 am
by a_naguib_2000
thnxxxxxxxxxxxxxxxxxxxxxxxxxxxx