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!

Assign same selected values from a listbox to another listbox by clicking on a checkbox
Last Post 09-09-2009 07:48 AM by David To. 17 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ABUser is Offline
going with the flow
going with the flow
Posts:62
Avatar

--
08-25-2009 09:45 AM

    I'd like to assign the values selected from a listbox to another listbox upon clicking on a checkbox.  The listbox is populated using SQL (Select (FirstName+' ' +LastName) as QuestionOption, UserID as QuestionOptionValue from Users where DisplayName <>'').  If this is not doable, I'd be happy to just assign the selected values from a listbox to a multiline textbox.

    Thank you very much.

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

    --
    08-26-2009 06:34 AM
    HI, what are the values of your listbox (integers or strings)? You will need client side javascript; try this to see if it works first:
    if ($(checkbox)) {$(listbox2) = $(listbox1)};

    Of course, you will need to substitute your shortnames and place it in the initial javascript and checkbox client side event. If this doesn't work, you might need to call the two checkboxlist functions that are available in the javascript file (calculatecheckboxlist and calculatecheckboxlistvalue). -- David
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-26-2009 07:44 AM

    The js you provided only assigns the first value selected from listbox A to listbox B.  My list contains strings.  I wonder if this is because of the existing problem with listbox where even after selecting Multiple Select, it goes back to Single Select?

    Anyway, if I were to use the existing functions you mentioned, do I substitute "input" parameter with "QuestionOption" and the "label" with QuestionOptionValue?

    Thanks for all your help!

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

    --
    08-26-2009 08:04 AM
    Under "Question Type" of a listbox, you have the option to "single select" or "multi-select". In your case, do you have it set for "multi-select"? -- David
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-26-2009 08:12 AM

    Yes, the Question Type is correctly set to Listbox and its Selection Type to "Multi Select" but someway/somehow keeps getting reset to Single Select everytime.  You have many entries in Forums for this same problem.  Here's one:

    http://www.datasprings.com/Products....aspx#9237

    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-27-2009 02:52 PM

    Any ideas?

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

    --
    08-28-2009 06:29 AM
    HI, can you export your form to www.betasprings.com (username: host, password: dnnhost) and send us the URL/tabID so we can take a look at your form / javascript and see if it's doable or not? Thanks. -- David
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-28-2009 07:44 AM

    How is that possible?  I have an HTML file of my form but when I try to import it in Betasprings.com, it doesn't allow me to re-direct to where my file is.

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

    --
    08-28-2009 07:59 AM
    Hi, on your site:
    1) click on export content and save the XML file somewhere
    2) go to Admin / File Manager and find it and click on it to save to your local hardrive
    3) go to betasprings, log in as host, go to admin / file manager and upload the xml file from your local drive to betasprings somewhere
    4) create a new page, add the DF module, import content and then choose the XML file that you uploaded on betasprings
    -- David
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-28-2009 08:28 AM

    I am getting this msg no matter which directory I choose when I try to upload in BetaSprings.

    "You Do Not Have Sufficient Permission To Write To Folder Temp/. Please Contact Your Hosting Provider To Ensure The Appropriate Security Settings Have Been Enabled On The Server."

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

    --
    08-28-2009 08:47 AM
    1) did you log in as username: host, password: dnnhost?
    2) try placing it in "Test" folder
    -- David
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-28-2009 10:22 AM

    Yes, I'm logged in as host.  There's no Test folder in there.  I sent you an image showing only the available directories/folders in a separate e-mail.

    Thanks.

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    08-28-2009 01:38 PM

    Hi.  Not sure why you're not seeing the Test folder in www.betasprings.com if you're logged in as host and pw dnnhost.  If you can't find it, you can also upload it to DynamicForms_Exports in Portal Root.  Thanks!

     

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    08-28-2009 01:45 PM

    I just figured out why.  I believe that image you sent was taken from Host, File Manager.  You need to be in Admin, File Manager.  

    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    08-28-2009 02:15 PM

    I'm glad you caught that!  Anyway, here's the link:

    http://Beta-Springs.com/ABs/tabid/6...fault.aspx

    So, what I'd like to accomplish is that after a user has selected preferred partner(s), futher down is a checkbox labeled "Click if assigning same partner(s)" that when checked, the values selected from listbox "applLstPartnersByAppl" get assigned/selected in "applLstPartnersAssigned".  If this is not doable (listbox to listbox), I'd be happy with these values from listbox get assigned to another suitable Question Type.

    Thanks.

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

    --
    08-31-2009 07:03 AM
    HI AB, I'm looking at your form now and will keep you notified sometime today if I've made any progress on this issue. -- David
    ABUser is Offline
    going with the flow
    going with the flow
    Posts:62
    Avatar

    --
    09-08-2009 02:09 PM

    Hello, David.

    Any luck?

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

    --
    09-09-2009 07:48 AM
    Sorry but NO LUCK SO far. Javascript for listbox is not very friendly for multiple selections, etc. Will have to delve on this some more. You might consider googling and see if you can find some javascript functions that will work with listbox. -- David
    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