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!

automatically update total when selecting items from drop down / combo box
Last Post 08-05-2012 05:12 AM by Ryan Bakerink. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
MattMUser is Offline
new to the springs
new to the springs
Posts:3
Avatar

--
08-04-2012 12:15 PM
    Is there a way to automatically update the total when the combo box control is changed?

    It doesn't even do this on the example at http://www.datasprings.com/products...lculations

    e.g. OnSelect or OnChange doesn't automatically update the total label.

    You have to change focus of the mouse; click elsewhere; before the total is updated.

    Is there any way to dynamically update the total as an option is selected?
    MattMUser is Offline
    new to the springs
    new to the springs
    Posts:3
    Avatar

    --
    08-04-2012 12:30 PM
    When I update onBlur to OnChange in Firebug... it automatically updates the total.

    Now, where to change this in the source without messing up the module.

    Or, can I just create a function that calculates the total OnChange
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    08-05-2012 05:12 AM
    Hello Matt,

    You can always create you're own Combo box by using the Text/HTML Question type and providing HTML to render a combo box. Maybe you'll want a layout like so:

    Label: [Combo Box]

    You can simply create this using HTML. Now I'm sure you'll notice that you're unable to obtain the selected value to use in Form Completion Events etc...

    Well you can add the onBlur event to this combo box and assign the selected value to a Dynamic Forms hidden field question type by using some JavaScript.

    Then reference the hidden field value when needing to obtain the value of the combo box's selection.

    So if the ID of the Combo box inside of the Text/HTML control is "States" then you would do the following:

    1.) Find the ID of the Hidden field question type that you have created on the form by either searching through the source code of the page or by using a developer's tool to find the hidden field(Firebug).

    2.) Plugin the assignment JavaScript into the onBlur section of your custom HTML combo box:

    document.getElementById('States').value = document.getElementById('HiddenFieldID').value;

    The hidden field ID will probably be over 40 characters in length, it's a large GUID meshed in with some meaningful text.

    Let me know if you have any questions.

    Thanks,

    Ryan
    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