cshoffie Posted February 26, 2008 Share Posted February 26, 2008 Hey everyone, is it possible using php/java to have input fields automatically updated based on the selection of a previous input box? For instance, I'm creating a system to where a person can upload an image for gallery. I have parent categories and subcategories that will be used to organize the images. I want the user to specify which parent category their image belongs to and then also the subcategory. What I want it to do is when the user selects the parent category (the <option>'s for which will be drawn from a DB) the subcategory selection box right next to it, will update itself according to which parent category was selected, based upon what the subcats are for the parent cats in the DB. Know what I'm saying?? I know how to get the info from the DB, I just need help with the java part of it. Any help would be GREAT! Link to comment https://forums.phpfreaks.com/topic/93157-dynamic-form-updating/ Share on other sites More sharing options...
fenway Posted February 26, 2008 Share Posted February 26, 2008 This is classic ajax. Link to comment https://forums.phpfreaks.com/topic/93157-dynamic-form-updating/#findComment-477303 Share on other sites More sharing options...
cshoffie Posted February 26, 2008 Author Share Posted February 26, 2008 Care to fill me in on how to do it? Link to comment https://forums.phpfreaks.com/topic/93157-dynamic-form-updating/#findComment-477315 Share on other sites More sharing options...
fenway Posted February 26, 2008 Share Posted February 26, 2008 Care to fill me in on how to do it? Much easier explained by a php/ajax tutorial... but since I'm not versed in this, I can't suggest one. Must be one on the php help / ajax help board stickies? Link to comment https://forums.phpfreaks.com/topic/93157-dynamic-form-updating/#findComment-477384 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.