Search
 

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!

Adding Multiple sets of Country-Region fields on a Form
Last Post 05-21-2010 01:07 PM by Curtis Eidson. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
vr1001 vr1001User is Offline
river guide
river guide
Posts:110
Avatar

--
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 NashUser is Offline
    river guide
    river guide
    Posts:4688
    Avatar

    --
    05-19-2008 04: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

     

    Curtis EidsonUser is Offline
    river guide
    river guide
    Posts:98
    Avatar

    --
    05-21-2010 01:07 PM

    Hi Chad-

    RE: Question # 1

    I'm running DF version 3.3.61 and have the issue with multiple addresses unable to use multiple dnn region/country fields.  It would be great to have this ability instead of creating seperate combo boxes with sql, etc.

     

    Did you find that this wouldn't work correctly ?  This would be a great enhancement.

     

    thanks,

    Curtis

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way

     

     

       
    Subscribe Me
     
    Copyright 2005 - 2011 by Data Springs, Inc.