View Full Version : Third Drop Down Won't Populate

09-29-2010, 05:00 PM
1) Script Title: chainedmenu.zip

2) Script URL (on DD):

3) Describe problem: A third option menu won't populate


This may have been resolved in another thread, but I can't see where the responses may have resolved the issue if they were sent as emails or something. I have an already edited version of the config.js file that a previous webmaster used for a site that I have taken on as manager. I am attempting to get his current script to populate a third field to display times available for a registration form.

Here is a current sample of the JS -

addListGroup("reservations", "month");

addOption("month", "Select a Month", "", 1); //HEADER OPTION
addList("month", "August", "", "August");
addList("month", "September", "", "September");
addList("month", "October", "", "October");

addOption("August", "Select a Date", "", 1); //HEADER OPTION
addList("August", "14 (Sat)", "14", "aug-14");
addList("August", "21 (Sat)", "21", "");
addList("August", "28 (Sat)", "28", "");//END OF THIS NODE

addOption("aug-14", "Select a Time", "", 1);//HEADER OPTION
addList("aug-14", "9:00am", "9:00am", "");
addList("aug-14", "10:00am", "10:00am", "");

And here is a current example of the form areas needing to be populated -

<td align="right">Month:</td>
<td align="left"><select name="month" style="width:130px;">
<td align="right">Day:</td>
<td align="left"><select name="day" style="width:110px;">
<td align="right">Arrival Time:</td>
<td align="left"><select name="time" style="width:110px;"></select></td>

It works up till choosing a date, but when I attempt to get the time option to drop to the next select menu, nothing happens. I have line-by-line compared his chainedmenu.js file and there are no differences in what he has edited to possibly stop it from populating any further than the 2nd select menu.

Here is a link to see the current status of the issue -


Thanks for your help and if it there is another post on the forum that has a resolution for this you can point me in that direction and I will take it from there.

09-30-2010, 03:19 AM
Have you looked at my response here: http://dynamicdrive.com/forums/showthread.php?t=57884 Please try and just reply to that thread instead of creating a new one, it makes it easier for people following the issue.