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!

Trying to perform a basic math/multiplication function
Last Post 01-02-2012 02:24 PM by Tim Hardin. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Brechtel, JackUser is Offline
going with the flow
going with the flow
Posts:33
Avatar

--
12-20-2011 12:01 PM
    Just trying to perform a basic multiplication function and I've tried so many things that I'm just confusing myself going in circles.  I cannot get anything to display or function.

    I've tried doing client-side events, I've tried making a Javascript event in the display after sumbit message, the actual field in TEXT/HTML code, using the custom Javascript code in General Settings, nothing works.

    What would be the best way to go about doing this basic example...

    I have a Drop-Down field of the token "$(Quantity)".  The options are integers from 1-7, with the values also being 1-7.

    I want to multiply this value by 2950 (or any integer just for testing purposes right now).

    I'd like to get this total displayed in a new field, simply called "Total".

    • Can the "Total" field simply be a Text/HTML field?
    • Can this function be performed on the form itself, or in a thank you/save after message (or both)?
    • Do I go in the "Total" field and make a client-side event such as...
    $(Total) = (parseInt($(Quantity)*2950).toFixed(2);
    document.write(("$" + $(Total));

    ???

    Thanks,
    Jack
    Brechtel, JackUser is Offline
    going with the flow
    going with the flow
    Posts:33
    Avatar

    --
    12-27-2011 11:24 AM
    Can close out this topic as necessary, I finally got a function working.  Just need to apply it to the my client's site that I am working on.
    Tim HardinUser is Offline
    wading in the water
    wading in the water
    Posts:24
    Avatar

    --
    01-02-2012 02:24 PM
    Jack, 
    do you mind sharing what you did to get that to work? I think there might be a lot of us who would benefit from that help.
    Thanks in advance,
    Tim
    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