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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListLookup field typeLookup field type
Previous
 
Next
New Post
4/7/2010 6:39 PM
 

Hi Maximus,

You suggested this was tricky but not impossible. Can you share with us how you do this, as we want to be able to select from our current users (pref users from a certain role group).

Thanks very much

Regards

James

 
New Post
4/9/2010 5:43 AM
 
Hi James,

Further to your recent post regarding Form and List...
Quoting myself from the previous posting:
"Tricky if not impossible at this time."

I believe it was "Stefan" who suggested it was impossible to do at this time.. that is to populate a DropDownList based on a database query.

Unfortunately, I received no answers myself to the posting i made about this.
How one can do a Database query using a dropdownlist or "lookup field type" -- I do not know.

Sorry i can not be of more help.

 
New Post
4/9/2010 6:10 AM
 
to create your own lookup dropdownlist, you need to create a custom data type which implements a dropdown edit control, reading data from users table or your country list

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/16/2012 7:33 AM
 

It's too long since the last post but I thought that other people might still be interested in populating a dropdown with all the countries. My quick solution is to just increase the 'InputSettings' field to nvarchar(MAX) in the 'UserDefinedFields' table in the Database.

Then you just add the list of countries. Also make sure to restart the application from the host menu in order to reflect the changes in the db

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListLookup field typeLookup field type


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