Recently Viewed...
To help you navigate to pages you most recently visited, select from the links below.
Product Forums
Sharepoint Forums
Flash Image Rotator
Opt In Email
Overview on Installing Sharepoint 2007
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.3
Ultra Media Gallery is the most popular photo gallery and media gallery module for DotNetNuke, the major purpose of this module is to allow you create unlimited pictures and medias to your gallery and organize them by albums, your albums and medias are browsed in flash interface.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2448 skins!

Ultra Video Gallery 2.3
Ultra Video Gallery is a brother product of Ultra Media Gallery, The major purpose of this product is to provide an easy way to add videos in various formats to your website by and play them in a unique flash gallery.

Open-DocumentLibrary v3.0
Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Engage: Publish 5.1
Content Workflow + Versioning + Categorization + Multiple Display Options = Truly Advanced DotNetNuke Content Management (Requires DNN 4.5.1 or later)

Form Master 1.6 For DNN 4
Form Master 1.6 improves on the success of version 1.5 with new features in Function, and Presentation, while maintaining the Intuitive User Interface. Form Master 1.6 delivers visual form design where input fields can easily be created, modified, and moved.

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

CATALooK.netStore Pro & Booking Tools w/source DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media gallery,Configurator,Packages,Data entry forms,Subscriptions,Recurring billing,40+ CC Gateways,UPS and USPS support

DNNMasters SEO Suite Enterprise w/Source
If you want better Search Engine ranking you need KeepAlive, URL Rewrite, Custom 404 error, Custom Redirect, Friendly URL's, Sitemap, Google Sitemap.DNNMasters SEO Suite delivers all of it and more!

Document Exchange Professional 4
Edit documents directly on your server using the latest iteration of the premier document management solution for DotNetNuke (DNN). With a completely revised Ajax-enabled UI.
    |   Register   |   Friday, August 29, 2008   
Data Springs Product Forums...
Subject: Multipage combobox calculations
Prev Next
You are not authorized to post a reply.

Author Messages
Logan
Posts:4
skipping stones
skipping stones

07/17/2008 1:19 PM  

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 canno 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/DynamicForms/Order/tabid/332/Default.aspx

Form2: http://www.betasprings.com/DynamicForms/order2/tabid/333/Default.aspx

Form3: http://www.betasprings.com/DynamicForms/order3/tabid/334/Default.aspx

 

 

Logan
Posts:4
skipping stones
skipping stones

07/17/2008 3: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.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Forms > Multipage combobox calculations



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement