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!

Grab numerical value from a combo box QuestionOption?
Last Post 05-05-2010 08:54 AM by David To Host. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Mark BuelsingUser is Offline
river guide
river guide
Posts:241
Avatar

--
05-02-2010 11:55 AM

    I thought I saw in the forum somewhere a javascript function that would grab the numeric value out of a combo box QuestionOption. Do you know anything about that? Where can I read the details? Thanks

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

    --
    05-03-2010 06:58 AM
    HI, in a combobox, what do you have as the questionoptionvalue? This is the value that gets stored so I can see a need to use client side javascript to grab the value since you can reference it directly with the shortname token field. -- David
    Mark BuelsingUser is Offline
    river guide
    river guide
    Posts:241
    Avatar

    --
    05-05-2010 08:48 AM
    What I was trying to do was, I needed the user to use only one combo box, but I needed 3 values that were associated with his choice. He chose "Soccer", but I needed to know the SportID, SportName, and Cost for that choice. Usually you can get only one value from one of your combo boxes.

    At first I tried using several additional combo boxes, in addition to the one I described. And they had SQL SELECTs in them to look up the missing pieces of data given the SportID chosen in the first. It worked, but whenever any other question event occurred, it wiped out all the values in all these combos.

    What I wound up doing was creating a new column in my lookup table that had a concatenation of the SportID, SportName, and Cost in standard length sections. And then made that column the QuestionOptionValue of the first combobox and then used a Client Side Event to parse the concatenated values apart and place them in hidden fields for later use. This solution does not empty when other question events run or on a screen refresh.
    David To HostUser is Offline
    going with the flow
    going with the flow
    Posts:54
    Avatar

    --
    05-05-2010 08:54 AM
    Well, you could use question events (setting default values based on another value chosen using SQL option). Another words, have a hidden field for SportID and SportName and use question event to set them based on what the user chose for the Sport combobox option. -- 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