hello again can i have some help with forms plz!!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gpittingale
Forum Newbie
Posts: 12
Joined: Fri Jan 23, 2009 5:58 am

hello again can i have some help with forms plz!!!

Post by gpittingale »

Hello Again everyone,
I have two forms on the same page, i have text input fields and the drop down boxes i created are auto submit boxes i created with javascript.
Now the problem is that when form 1 submits itself it resets form 2 and vica verca i am trying to get all the data on the page to stay in the boxes and i already use this method

Code: Select all

<?php if($heat5 == 'Full system (elec to gas)') echo "selected = \"selected\"";?>
also when i move of the page say to jump back on i lose all the data again and i would like to keep this here too.
any suggestions bearing in mind am new to this so if you could provide an example i would be very greatful.
mubeena
Forum Newbie
Posts: 17
Joined: Fri Jan 30, 2009 4:26 am

Re: hello again can i have some help with forms plz!!!

Post by mubeena »

Use hidden values for that
Post Reply