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!

2 fields - same form - both linked to DNN profile field?
Last Post 12-05-2011 12:44 PM by p speth. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Robb BrynUser is Offline
going with the flow
going with the flow
Posts:74
Avatar

--
04-07-2010 06:33 AM

    Scenario.  ComboBox1 has a list of Company Names, An option in the list is "other".  based on the selection of "other" a textbox appears to allow you to enter a company name. 

    Question.

    Combobox1 is linked to the Company field in the DNN Profile. I need the "Other" to NOT be stored from ComboBox1 and instead store the value from the "Other Text Box" instead.

    I've looked at question events and can't see a way to set the default value of one when the other is selected.

     

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-07-2010 07:22 AM
    HI, how about trying this:
    1) create a hidden field type called "Company"
    2) have this hidden field type be linked to the "Company" DNN CORE profile field
    3) DO NOT link the ComboBox field to any core profields whatsoever
    4) use client side javascript to set the hidden field value
    5) place the following client side javascript in your combobox and company text box field

    if ($(combobox1) != "other")
    { $(Company) = $(combobox1)}
    else
    { $(Company) = $(textboxfield)};

    See if this trick will work for you. -- David
    Robb BrynUser is Offline
    going with the flow
    going with the flow
    Posts:74
    Avatar

    --
    04-07-2010 08:05 AM
    yup, that did the trick!... thanks for the tip.
    p spethUser is Offline
    river guide
    river guide
    Posts:80
    Avatar

    --
    12-05-2011 12:44 PM
    I think this "Trick" deserves to be in the documentation.
    Handling Other is a very useful thing.

    Thanks!!
    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