Okay, I'm not the greatest with JavaScript, but I can modify and make minor changes, but not create custom ones.
So my two tasks I need to complete are this:
When you select a preset of items from a drop down menu, the second drop down menu must change to display (a pre-termined) list of items.
Add a "Add more fields" button that copies a row of five (5) boxes, including the item above
For the first item, I have a list of colours (e.g. Black, White, Red, Green, Yellow..) and when I select say, Black, the second drop down menu can only show 1, 2, 3, 4, 5, 6 but when I select Red, Green or Yellow, the drop down box shows 3, 4, 5, 6 (removing 1 and 2).
I need to copy this row of items, duplicating it each time, so I can enter either 1 or 20 items at a time.
I've tried a couple of scripts, but can't seem to get them to work in harmony with one another, so rather than modifying these 2 scripts, I was wondering if Neowin could help me out :)
Question
Andrew Lyle Global Moderator
Okay, I'm not the greatest with JavaScript, but I can modify and make minor changes, but not create custom ones.
So my two tasks I need to complete are this:
For the first item, I have a list of colours (e.g. Black, White, Red, Green, Yellow..) and when I select say, Black, the second drop down menu can only show 1, 2, 3, 4, 5, 6 but when I select Red, Green or Yellow, the drop down box shows 3, 4, 5, 6 (removing 1 and 2).
Once this is accomplished, I have 5 boxes:
I need to copy this row of items, duplicating it each time, so I can enter either 1 or 20 items at a time.
I've tried a couple of scripts, but can't seem to get them to work in harmony with one another, so rather than modifying these 2 scripts, I was wondering if Neowin could help me out :)
Thanks!
Link to comment
Share on other sites
19 answers to this question
Recommended Posts