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
- Sold between 250 000 and 1 000 000 dollars
- Exclusive Author
- Interviewed on the Envato Notes blog
- Author was Featured
- Item was Featured
- Beta Tester
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
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…
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.
- Sold between 250 000 and 1 000 000 dollars
- Exclusive Author
- Interviewed on the Envato Notes blog
- Author was Featured
- Item was Featured
- Beta Tester
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
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.
- Sold between 100 000 and 250 000 dollars
- Won a Competition
- Author was Featured
- Item was Featured
- Referred between 500 and 999 users
- Author had a Free File of the Month
- Author had a File in an Envato Bundle
- Bought between 10 and 49 items
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
