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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.