221 posts
  • 4 Years of Membership
  • United Kingdom
  • Author Level 3
  • Collector Level 2
+2 more
NuclearThemes
says

Does anyone know of a way to do the following? I have a dropdown menu which when someone selects something a new dropdown menu appears beneath. This needs to be a continuous process so the user can select as many items as required.

Everything needs to be put into an array so I can work with it in PHP .

Look forward to hearing everyone’s thoughts.

Thanks

3256 posts
  • Affiliate Level 4
  • Author Level 9
  • Collector Level 2
  • Top Monthly Author
+11 more
ParkerAndKent
says

Hi,

if the items present in each select field are always the same why don’t you use a select MULTIPLE field that simply returns an array with all the selected elements? Otherwise you would need javascript to handle everything and that can be more complicated…

221 posts
  • 4 Years of Membership
  • United Kingdom
  • Author Level 3
  • Collector Level 2
+2 more
NuclearThemes
says

Its a touch more complicated than how I originally explained it to be.

It’s sort of a quick order form so you have Type Dropdown, Quantity, and two other dropdowns on one line. Once filled out another line needs to appear.

It’s on the admin side so it doesn’t matter all that much if what’s there is very rough. It’s for my use only at the moment.

3256 posts
  • Affiliate Level 4
  • Author Level 9
  • Collector Level 2
  • Top Monthly Author
+11 more
ParkerAndKent
says

Hi,

I understand… well, it’s not something that can be explained easily… that would require a good amount of javascript to be handled.

You can try to hire someone on CodeCanyon, I don’t think you will find someone that can explain this without putting the hands on your specific project.

501 posts
  • Affiliate Level 7
  • Author Level 10
  • Collector Level 2
  • Top Monthly Author
+10 more
pixelentity
says

Hey,

Maybe there is something in these that might help you, it sounds kinds similar. (snippet, explaination n demo via js fiddle)

Adding & Subtracting form fields dynamically with Jquery

http://pixelentity.com/freebies/form-jquery-clone-live/

Hiding form fields with CSS & jQuery

http://pixelentity.com/freebies/hide-form-fields-with-css-and-jquery/

Regards,

DOK

by
by
by
by
by
by