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!

Auto fill a combo box
Last Post 07-29-2010 11:17 AM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ChrisUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
07-28-2010 05:47 AM
    This is probably an easy question but I'm new to this so take it easy on me.  I've created a dynamic form with a combo box that has each of our company's divisions.  Depending on which division is selected, that division gets the e-mail.  What I would like to do is put a Contact Us link on each division's page.  When someone clicks on the Contact Us link on that division's page, I want the combo box to automatically populate with that division.

    Example:
    If I'm on the vending page and click on the Contact Us link, the user is directed to the Contact Us page and the Division Combo box already has Vending Selected.  Possible?  
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-28-2010 02:13 PM
    Hello Chris,

    Yes this is possible using Dynamic Forms.

    What module are you using on the vending page with all of the Contact Us links?

    Anyways, this is possible to accomplish by using something called a querystring. Basically you can pass parameter values through the URL when redirecting the page. So you can have your combo box with all of the divisions loaded into it, and you can go to the combo box control and go into edit mode and look for an expandable menu "Advanced Field Options" and here you can apply the checkbox "Retrieve values from querystring variable for this question" so you will check this box. You must also pass via querystring from your ex: vending page with contact links. When you retreive this value via querystring you can go to "Module Configuration -> Custom Javascript File" and insert your Javascript to make the querystring variable the default value in your combo box.

    If you have any questions please let me know so I can be of further assistance.

    Thanks,

    Ryan
    ChrisUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    07-29-2010 02:59 AM
    The Contact Us hyperlink on the Vending page is in a basic Text/Html module
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-29-2010 11:17 AM
    Hello Chris,

    You can pass the query string with the hyperlink. So you will pass the shortname of your combo box with the value so ComboName = EastCoastVending and then you can retrieve the value via javascript in the initial page load where you can specify in Module Configuration -> Custom Javascript File. Place your javascript that will change the default value of your combo box depending on the querystring parameter.

    Thanks,

    Ryan
    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