Recently Viewed...
DNN Modules
SnowCovered Top Sellers

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

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.

Edit documents directly on your server. The premier document management solution for DotNetNuke (DNN). Index contents of documents. Share documents across your portal and avoid duplicates. Revised and flexible UI. Extensible architecture.

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: Print the Form
Prev Next
You are not authorized to post a reply.

Author Messages
Jim
Posts:4
skipping stones
skipping stones

02/29/2008 6:21 AM  

Is there a way to print the form when the user clicks the Submit link?  

I am looking for a result like you get by clicking the print link on the module container.  I would rather not try to explain to a user how to do that.  Or miss a needed print if he forgets.

Chad
Posts:2271
river guide
river guide

03/06/2008 4:06 PM  

Hmmm... Well yes and no... You can set the redirection link to be a printer friendly HTML module. You would only need to generate that one time by clicking on the 'Print' icon for a module that will display the results. The problem with this is that you might want to use a display after message and make it a 'pop up' because otherwise they would be redirected to the print screen and since it never popped up they might lose the web site they are at.

So here is the solution at that point. Our Tailored Text/HTML module has the ability to retrieve (as tokens) querystring and session variables. So you could use the features within Dynamic Forms to 'pass field via querystring' or 'pass field via session variable'. This way when it gets to the Tailored Text/HTML module (which you made the link the print mode too) you can have a WYSIWYG Rich Text Editor where you can define where you want those tokens. The HTML would look like:

                                         Your Report
First Name: $(FirstName)
LastName : $(LAstName)

etc...

A little troublesome to setup but it would offer the solution you are looking for.

Here is an example:
Tailored Text Example w/ Querystring Tokens

Note a few things. First the URL includes a querystring token called Address1 with a value of 555 West 5th Street. this would be generated if you had a shot field name called Address1 and had the featured enabled to 'Pass field via querystring variable'.

Now, just change the URL to also include the parameters to pass for the printdnnmode and the no container (so that you get a blank) and you would end up with a URL such as this:

Tailored Text Example w/ Print Mode & Querystring Variables

 

Of course the other solution would be to just use the 'Display after message' which has access to all of the form tokens and you can have them print the page. The disadvantage here is that it would not be in the print mode that you are looking for.

Ok, that was fun

 


-Chad

You are not authorized to post a reply.



ActiveForums 3.7

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