jasonv
09-26-2010, 04:27 PM
1) Script Title: chainedmenu.zip
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...hainedmenu.zip
3) Describe problem: A third option menu won't populate
Hello,
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 -
<tr>
<td align="right">Month:</td>
<td align="left"><select name="month" style="width:130px;">
</select></td>
</tr>
<tr>
<td align="right">Day:</td>
<td align="left"><select name="day" style="width:110px;">
</select></td>
</tr>
<tr>
<td align="right">Arrival Time:</td>
<td align="left"><select name="time" style="width:110px;"></select></td>
</tr>
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 -
http://harvestfarm.net/PREVIEW/test/...tions_test.php
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.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...hainedmenu.zip
3) Describe problem: A third option menu won't populate
Hello,
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 -
<tr>
<td align="right">Month:</td>
<td align="left"><select name="month" style="width:130px;">
</select></td>
</tr>
<tr>
<td align="right">Day:</td>
<td align="left"><select name="day" style="width:110px;">
</select></td>
</tr>
<tr>
<td align="right">Arrival Time:</td>
<td align="left"><select name="time" style="width:110px;"></select></td>
</tr>
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 -
http://harvestfarm.net/PREVIEW/test/...tions_test.php
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.