Quick login...
 

 

  

DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Powerful, Ajax Enabled, Easy to Use. Document Management and Multimedia gallery functionality in one.Open-DocumentLibrary allows DotNetNuke users to organize share and manage documents, offering granular control over Folder and Document access.

Active Social is customizable social networking solution that fits the needs of a large company, small group, start-up business, or any size interest group. Connect with co-workers, people with similar interests, family, old friends, or meet new ones. Active Social provides a complete communication

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......

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

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 and play them in our integrated flash video player.

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

The amazing ANY COLOUR Flex2 skin + our unique EasyMod module allowing you to customise just about everything in this skin. DrNuke just re-wrote the rule book again.

The Future of Enterprise Search for DotNetNuke 3.x and 4.xOpen-SearchEngine provides DotNetNuke with a true enterprise search engine capable of indexing html content as well as documents from multiple sites and/or physical directories.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

Recently Viewed...
DNN Modules
   
    |   Register   |   Saturday, March 13, 2010   
Hi Everyone!

You'll notice that we implemented a small change where your first and last name are now displaying in the forums.  If you do not wish to display your last name, please update your user profile and add a display name.  You'll find this by clicking on your name at the top of the page (right next to the Logout link).  Thanks!

Data Springs Product Forums...
Subject: Adding Multiple sets of Country-Region fields on a Form
Prev Next
You are not authorized to post a reply.

Author Messages
vr1001 vr1001
Posts:79
river guide
river guide

05/16/2008 12:07 AM  

Hi,

I need to setup "multiple" Office Locations on a Form.

Each Office location will have a standard set of location data fields:

Name of Branch, Address, City, Country, Region, Postal Code.

For Country and Region, I want to use the "built-in" field types (Country and Region) with existing Lists data (Host >> Lists)

It is working fine for the "1st Location".

 

For the 2nd and subsequent locations, I am not able to setup and "independent" set of Country and Region pair.

Is it possible to have a feature that allows a user to enter Office Locations from different parts of the world (different countries and associated Regions)?

 

Question 2: Can we have  more generalized field types like "Parent List" (in place of Country) and "Child List" (in place of Region)?

 

Question 3: When setting up custom lists (Host >> Lists), I selected "enable sort order" and added "-please select-" as the 1st entry. But on the Form, when I pull that list data in a Drop Down list using SQL options, the "-please select-" item is showing up in the middle (next to other items starting with a "p") rather than being at the top based on hyphen "-")  If I need "parent-child" dependent list functionality, I am forced to use SQL to have the "EntryID" as the  value. When it is stored in the database, it is storing this numeric value rather than the "Text". Any suggestions on implementing parent-child dependent lists like Auto Make and Auto Model

Auto Makes: Honda, Toyota, Ford

Auto Models:

Honda>>Civic, Accord, Odyssey

Toyota>>Corolla, Camry, Sienna

Ford>>Focus, Taurus, Fusion

The Saved Form Data should have names like Honda, Toyota, and  Ford instead of their values or List EntryIDs sucha s 100, 101, 102, etc.

Chad Nash
Posts:3338
river guide
river guide

05/19/2008 4:21 PM  

Hi, let me see if I can answer some of your questions..


1. Unfortunatly no, not without changing the source code. Dynamic Forms is currently setup for only one country/region per form. We will research this in the future and see what will need to be added so that region fields can be directly linked to a country field (if there are multiple country fields).

2. Yes - but not using Host, Lists.  For now you could do something similar with question events and using two sets of dropdownlists, however this would not allow the user to 'Enter a region' for countries that don't have a dropdownlist. For example, you could use this if you wanted United States or Canada but not for countries where the user would enter a value in.


You can setup dependent SQL for 'field 2' that is dependent one 'field 1'. We actually just setup a demonstration outlining data driven and data dependent fields driven by SQL queries.


3. Well - you might set the sort order, by you need to pull from the lists and use the sort order as an option. So, at the end of the query probably try something like 'Order By SortOrder'. Another option is to pull from lists such as doing a '< Select Item>' as OptionText, '0' as OptionValue then do 'Union All' and your standard SQL for the list. This will give the user an option before the list is ever generated. 

 

As far as the data driven lists though, check out the demonstration I mentioned in question #2, this provides step by step instructions for this.



-Chad

 

You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Forms > Adding Multiple sets of Country-Region fields on a Form



ActiveForums 3.7
Copyright 2005 - 2010 by Data Springs, Inc.
Terms Of Use | Privacy Statement