Jump to content

Dynamic form updating


cshoffie

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.