Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Question Events
Last Post 11-23-2011 07:57 AM by Zachary Day. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Resolved
Zachary DayUser is Offline
Posts:6
Avatar

--
11-23-2011 06:05 AM
    Ver:3.40.30.0 / 5.6.3

    I need to know if this is possible, as I cannot figure out how to do it.

    I have a combo box that is sql driven. The OptionQuestion is the module title, and the OptionQuestionValue is the module id.

    When the user changes the value of the combo box, I want to load SQL driven rows into another combo box that is based on the value of the first combo box (the module id).

    How can I do this?

    Thank you for your time.
    Steve KUser is Offline
    going with the flow
    going with the flow
    Posts:49
    Avatar

    --
    11-23-2011 06:41 AM
    • Accepted Answer

    Zachary,

    If I understand you correctly, all you need to do is for the second combo box, go to the options area for the question and select SLQ driven. You would then write your sql statement to be something like this:

    SELECT FieldName as QuestionOption, FieldID as QuestionOptionValue
    FROM TableName
    WHERE ModuleID = '$(ShortName)'

    FieldName is the name you want displayed, and FieldID is the value you want stored for the second combo box. TableName will be the name of your table where FiledName and FieldID are being pulled from, and ShortName will be the short name used for the first combo box. But the main point is that the table you are going to use to load your options, must contain ModuleID

    I usually do this with the second question being hidden, and then Display that question when the first question is answered with a Question Event to display hidden question. If you want the second question to always be visible, you can always use the Set question default / return SQL... option in the question event, and select sql driven, and place you sql statement there.

    Hope this helps.

    Steve

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    11-23-2011 06:49 AM
    • Accepted Answer
    Hi Zachary,

    Yes, this can be done with dependent dropdowns. Please visit Demo 11 in our Form Demos for an example and a tutorial. Let us knoiw if you have questions as you go along. Thanks!

    http://datasprings.com/products/dnn...nstrations


    Candace
    Zachary DayUser is Offline
    Posts:6
    Avatar

    --
    11-23-2011 07:57 AM
    Thank you both! It worked great.
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi