Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem w/ populating dynamic drop down menu in DNNProblem w/ populating dynamic drop down menu in DNN
Previous
 
Next
New Post
2/27/2008 6:36 PM
 

Oh! I just remembered that you can't see that page without being on the VPN. Here is the code for the whole page. I have highlighted the section that corresponds to the dynamic menus.

 

<h1 class="title"><center>Welcome to the VTraC Subscription Page!</center></h1> <center> <h3>To begin receiving you text

 
New Post
2/27/2008 9:21 PM
 

I'm sorry. Things aren't posting correctly. Below (hopefully) is the code for the dynamic menus. Thanks again for your help!

"<form name="cascade"> <p><select name="Route" size="1" onclick="fillSel(this)"> <br /><option selected>-- Select a Route -- </option> <option value="Route11">Route 11</option> <br><option value="Route33">Route 33</option> <option value="Route34">Route 34</option> </select><td valign="top" width="50%"><select name="destList" size="1" onclick="doSel(this)"> <br /><option>-- Select a Stop -- </option> </select></p> </td> <script language="javascript"> <!-- Route11 = new Array("Asbury","","College Main", "selMenu.html","Wellborn","lockField1.html","Villa Maria","currency.html"); Route33 = new Array("Trigon", "","Doux Chene", "rolodex1.html","Longmire","rolodex2.html","Ponderosa","rolodex3.html"); Route34 = new Array("Trigon","","Westridge","snippet1.html","Antelope","snippet2.html","Welsh","snippet3.html"); function fillSel(selObj) { var i = j = 0; var newItem; var src; var srcName = ""; for (i = 0; i < selObj.length; i++) if (selObj.options[i].selected) srcName = selObj.options[i].value; src = eval(srcName); with (document.cascade.destList) { options.length = 0; for (i = 0; i < src.length; i++) { newItem = options.length; options[newItem] = new Option(src[i]); options[newItem].value = src[i+1]; i++; } options[0].selected = true; } if (!isOk) history.go(0); } function doSel(selObj) { for (i = 1; i < selObj.length; i++) if (selObj.options[i].selected) location.href = selObj.options[i].value; } //--> </script> </tr> </tbody> </table> </fieldset>"

 
New Post
2/27/2008 10:30 PM
 

You can't nest a FORM tag within a DNN page, it will always cause problems.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
2/28/2008 10:33 AM
 

As Chris mentioned having that form tag in there might be causing most of your problems.

I would start by removing the form tag and see if the actions change.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/28/2008 7:42 PM
 

Well, that fixed my non-responsive "Reset" button (which has been driving me crazy, so thanks!), but it had no affect on the menu population. Any more ideas?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem w/ populating dynamic drop down menu in DNNProblem w/ populating dynamic drop down menu in DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out