Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Live Content uses Web 2.0 approach to provide a Rich User Interface and streamlines content presentation by overlaying content on current page. Overlay images, videos, audio, text/html content, flash, dotnetnuke modules, and external content. Experience the demo...

Gloss is the first ALL COLORS! skin, featuring a powerful XML-based flash and being 100% W3C CSS XHMTL1.0 compliant. Tune it yourself on the fly, changing colors, backgrounds, containers, text color and size, width and more! Brilliant!

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

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.

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

The Catalyst skins are professionally designed, coded and packaged by a team of DotNetNuke experts. The skins are available in 12 great colours. This skin is easily customisable with our unique DrNuke EasyMod technology. Try our demo!

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

    |   Register   |   Thursday, December 04, 2008   
Data Springs Product Forums...
Subject: Creating an product order form
Prev Next
You are not authorized to post a reply.

Author Messages
Jarrod
Posts:4
skipping stones
skipping stones

05/28/2008 12:58 PM  

I would like to create a product order form with a form line for each product where the field represents the quantity ordered for that item.

Adjacent to that should be a field that shows the total cost for each item ordered (multiplying the quantity ordered field by its assigned per item cost)

I am wondering how to achieve this?

Chad
Posts:2271
river guide
river guide

05/29/2008 5:05 PM  

Jarrod,

This can be handled using Dynamic Forms Client Side Events feature. You would just need to have some client side events that would perform a calculation so that when the user changed the quantity it would execute a calculation and show a new total. If you want to create a quick form on www.betasprings.com (login as host/dnnhost) with the look you are wanting, I should be able to assist in getting a client side event that will handle the calculation you need.

-Chad

Jarrod
Posts:4
skipping stones
skipping stones

06/04/2008 7:32 AM  
Okay, I created a page called Jarrod's Form and started it.

What I am trying to achieve is this: http://www.abconwine.com/quote.htm

with the addition of a line total and running total.
Chad
Posts:2271
river guide
river guide

06/05/2008 4:12 PM  

Ok. Check out your test form now that you setup on Beta Springs. Obviouslly you might not want the total there, you could have it before the submission button, or maybe at the top of the page but I set it up so that it now has a running total.

For anyone else looking for this you can find the test page here that showcases creating a running total as the user is filling out the form.

For these types of implementations you just need to setup the function for totalling all fields (and any other calculations) once and then when its working you can add that same client side event to any additional form fields you would want to have generate the total.


-Chad

korry
Posts:15
wading in the water
wading in the water

06/30/2008 2:52 PM  

Hi Chad,

I need to know how to do the calculation on your Beta Springs page: http://www.betasprings.com/DynamicForms/CalculationField2/tabid/214/Default.aspx

Korry

Chad
Posts:2271
river guide
river guide

07/01/2008 12:40 PM  
Korry,

Hi. Well the easiest way to check this out is to log into www.betasprings.com (login as host/dnnhost) and navigate to that page to review the settings etc.. Another option to to choose to 'Export Content' and then download the file you create from the portals home directory, copy it to your portals home directory, and choose to 'Import Content'. This allows you to copy the form and so forth.

I would check out the javascript file within that form though, and also the client side event setup for those specific fields.

-Chad
Jarrod
Posts:4
skipping stones
skipping stones

07/10/2008 7:36 AM  

Hi Chad.

I was playing with the client side event, and for some reason the running total to the right of the field no longer works.  I am not sure why.

http://www.betasprings.com/DynamicForms/JarrodsForm/tabid/276/Default.aspx

Jarrod
Posts:4
skipping stones
skipping stones

07/10/2008 8:42 AM  

As a seperate angle to this question, is it possible to generate a form like the one described here, but somehow drawing the labels for each field from my sql database, as well as the amount that each field is multiplied by being drawn from the price of the item in my database.

For reference, my website is www.bwwines.com

 

 

Eric
Posts:16
wading in the water
wading in the water

07/24/2008 9:33 AM  

Hi Chad,

 can I have in dynamic forms a field that would act as an  order number that is unique? Thanks,

 

Eric

Eric
Posts:16
wading in the water
wading in the water

07/24/2008 9:36 AM  
I forgot to mention... this order numer would have to be generated automatically by the server.
Chad
Posts:2271
river guide
river guide

07/24/2008 9:43 AM  

There are two ways of doing this. 1 would be a textbox or hidden field with a SQL Default, the SQL default would basically generate a unique variable (such as a GUID). The other way is... Dynamic Forms already has a unique GUID available to you for each unique form submission. The token for this is '$(UniqueCompletionID)'. You can store this as a primary key. There is also an option in module configuration, general settings to 'Pass unique completion ID' which passes the value as a session variable called UniqueCompletionID.

-Chad

You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Dynamic Forms > Creating an product order form



ActiveForums 3.7

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