Populate form after making a selection from a select menu

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
mrbirtch
Forum Newbie
Posts: 3
Joined: Thu Feb 03, 2005 10:39 am

Populate form after making a selection from a select menu

Post by mrbirtch »

Anyone who can help, I am wondering if there is a way that I can populate the rest of a form once the user has made a selection from a <select> menu. The menu I have setup is populated from the database and then I would like to populate the rest upon selection of a menu item.

I am creating a system where the user can edit articles and I would like for the article to populate the text field once it is chosen from the select menu.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

use an onchange event to submit a hidden form that will repopulate the page with that record's data.
Post Reply