Form's Inputs

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
User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

Form's Inputs

Post by quadoc »

I've two inputs (#1, #2). #2 input selection is depends on what the user select for #1 input. Is there a away to retrieve the input #1 before the form post? Does anyone knows? Please post some tips. Thanks...
User avatar
blacksnday
Forum Contributor
Posts: 252
Joined: Sat Jul 30, 2005 6:11 am
Location: bfe Ohio :(

Post by blacksnday »

How do you want to retrieve #1?

Do you want it to stop before #2 starts
so that #2 can be compared to #1?
User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

Post by quadoc »

I just need to know what the user selected for input #1 and then decice what needs to populate for the input #2 for the user.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm going to guess #1 is a select box? You can use the onchange event of a select box to process data when a selection is made.
Post Reply