221 posts
  • Has been part of the Envato Community for over 4 years
  • Located in United Kingdom
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+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
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Became a Top 20 Author of the Month
+10 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
  • Has been part of the Envato Community for over 4 years
  • Located in United Kingdom
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+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
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Became a Top 20 Author of the Month
+10 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
  • Has referred 1000+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Became a Top 20 Author of the Month
+9 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