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!

Multipage combobox calculations
Last Post 07-17-2008 01:23 PM by Logan Crisafulli. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Logan CrisafulliUser is Offline
new to the springs
new to the springs
Posts:4
Avatar

--
07-17-2008 11:19 AM

    I really need some help here. What I am trying to do is set up a multipage order form that takes items from the combo boxes, and adds the price into a total box on the last form. The first form lets the user select the products and shipping. The second page is for user info such as name and address. The third page is a order review that displays the selected option in read only boxes and shows the total. THe problem Im having is that I cannot figure out how to set specific options prices, I assume you can do it somehow with a JS variable but I just cannot figure out how to do it.

    I have these forms set up on betasprings at these URLS.

    Form1: http://www.betasprings.com/Dynamic-...fault.aspx

    Form2: http://www.betasprings.com/Dynamic-...fault.aspx

    Form3: http://www.betasprings.com/Dynamic-...fault.aspx

     

     

    Logan CrisafulliUser is Offline
    new to the springs
    new to the springs
    Posts:4
    Avatar

    --
    07-17-2008 01:23 PM

    would a custom JS like this work, Im having trouble with getting object form the dynamic form I dont know the syntax.

    function calculatecombobox()
    {
    var mediaprice;
    var dfprice;
    var insertprice;
    var packagingprice;
    var quantity;
    var orderprice;
    var shippingprice;
    var totalprice;

    if ($(media)=='CD ($0.20)') {
    mediaprice = .20;
    }else {
    mediaprice = .40;
    }

    if ($(discface =='None'))
    {
    dfprice = 0;
    }
    else
    {
    dfprice = .10;
    }

    if ($(Caseinsert == '2 page ($.50ea)'))
    {
    insertprice = .50;
    }
    else if ($(Caseinsert == '4 page ($.70ea)'))
    {
    insertprice = .70;
    }
    else if ($(Caseinsert == '6 page ($1.00ea)'))
    {
    insertprice = 1;
    }
    else if ($(Caseinsert == '8 page ($1.20ea)'))
    {
    insertprice = 1.20;
    }
    else if ($(Caseinsert == '10 page ($1.50ea)'))
    {
    insertprice = 1.50;
    }

    if ($(Packagaing) == 'Std CD case (black) ($.50ea)')
    {
    packagingprice = .50;
    }
    else if ($(Packagaing) == 'Std CD case (clear) ($.50ea)')
    {
    packagingprice = .50;
    }
    else if ($(Packagaing) == 'Std DVD case (black) ($1.00ea)')
    {
    packagingprice = 1;
    }
    else if ($(Packagaing) == 'Slim DVD case (clear) ($1.00ea)')
    {
    packagingprice = 1;
    }
    else if ($(Packagaing) == 'Slim DVD case (clear) ($1.00ea)')
    {
    packagingprice = 1;
    }
    else if ($(Packaging) =='Paper envelope (window) ($.20ea)')
    {
    packagingprice = .20;
    }
    else if ($(Packaging) ==Paper envelope (without window) ($.10ea)')
    {
    packagingprice = .10;
    }
    else if ($(Packaging) =='None')
    {
    packagingprice = 0;
    }

    $(total) = mediaprice + dfprice + insertprice + packagingprice;

    }

    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