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: Another dynamic form problem
Prev Next
You are not authorized to post a reply.

Author Messages
Paul
Posts:23
going with the flow
going with the flow

01/28/2007 10:27 PM  

Continuing on with my project to implement a questionnaire using Dynamic forms to be calculated via Tailored Text...

 

I have attempted 2 approaches to convert a yes/no answer to a number value.  My first approach was to use a SQL generated question source for my radio button Yes/No questions.  Using a t-SQL statement as follows:

--

SELECT txtAnswer as QuestionOption, intAnswer as QuestionOptionValue
FROM SWEEPNConvert

--

allowed me to send a 1 or 0 to the Tailored Text module while showing a yes/no on the form.  This worked fine and I was very happy! My questionnaire has 30 questions, so I entered the first 20 and tested the form.  It now takes slightly over a minute just to load.  This seems to be painfully long, and it makes the application almost unusable. 

 

My second approach was to create SQL tokens on the Tailored Text module in order to convert the Yes/No query string to a 1/0.  I created a Stored Procedure, tested it in Query Analyzer, and it worked.  I ran the calling code in Host SQL, and got no error, so I added the following SQL code to the first three questions in the Tailored Text module. 

 

---

DECLARE @QValue int
EXECUTE prSWEEPCalc '$(Q1)', @intTotal1 = @QValue OUTPUT
PRINT @QValue

---

 

Now, the Tailored text module takes about a minute to load, and something fails on the parsing here, since the resulting text in the Tailored text module is 'Yes' or 'No' rather then 1 or 0. 

 

My questions are, is there any way to make the Dynamic form run in some reasonable manner with SQL derived answer options, and is there any obvious reason why my tailored text tokens are just passing through the query string and not running the Stored Procedure.  Also, is there any way to speed execution times on the Tailored text module?

You are not authorized to post a reply.



ActiveForums 3.7

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