You need to Register for free and Login to post a message in the forum.

Forum

Subject: Dynamic Forms (Tutorials 40,41) - How to ‘filter’/’validate’ data on Submit
Prev Next
You are not authorized to post a reply.

Author Messages
GeeDub
Nuke Newbie
Nuke Newbie
Posts:9

30 Jun 2009 12:01 AM  

I am trying to move beyond what you described in tutorials 40 and 41, but I am stuck.  I have achieved
· a message that is displayed on Submit,
· an email that is sent to the user on Submit, and
· an email that is sent to (eg our office) on Submit

To set the scene, and using your homeowner/mortgage example, if a user selects ‘Homeowner with Mortgage’, options to enter ‘Balance’ and ‘Monthly payment’ are presented.  Alternatively, if the user selects  ‘Homeowner with No Mortgage’ the options would be: ‘Value of property’, etc

And that works perfectly on my form; only what is selected is visible.

My challenge is to restrict the information on the submit message (it too will have the relevant data) and on the two emails to the information that has been ‘filtered’ by the Question Events.  For example, if the user had selected ‘Homeowner with Mortgage’ they would only see a ‘Homeowner with Mortgage’ heading along with the ‘Balance’ and ‘Monthly Payment’ details.  They would see nothing relating to the option(s) that they chose not to select.

I can’t find mention of how to do this anywhere and would really appreciated being pointed in the right direction.

And here is a related question; one to do with validation. Pressing on with the example: in the case of a user selecting ‘…… with Mortgage….’ I want ‘Balance’ to be a required field; if they select “…no mortgage…” I want “Value of property” to be required.   I don’t want error messages being thrown up for areas/questions that users have not been near.  Currently I can achieve an all-required or nothing-required solution.

Please, how can I make the validation conditional on the answer to the Initiation Question?

Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5287


01 Jul 2009 4:26 PM  
1) I have not tried that, but when you create the form completion event and send the e-mail, have you tried creating a completion event where if they fill out a form field than it will send an e-mail? - so you could potentially setup a few e-mails using completion events that are sent only when certain fields are filled out.

From there in your email template you just add the fields that are required into the template

2) Good question, I am unsure of the answer - for that one I would contact datasprings direct - let me know what you find as I'm sure I will need to do this one day as well!

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > Modules > Dynamic Forms (Tutorials 40,41) - How to ‘filter’/’validate’ data on Submit



ActiveForums 3.7

Latest Forum Posts

Non Standard Port with DNN 5+ by thejudge
Hello Some time back we started tinkering with DNN v5, however we couldn't get it to work when tr...
RE: Community Edition Question by idesofmarch
Thanks a million! This is my first project in dotnetnuke. I've always done Joomla or Drupal. But I d...
Flash in the HTML Module-Source Code by robmacker
Here is the source Flash files for the implementation question i have below. Thank you for lookin...
Windows 7 Install gone wrong by RichardSletcher
Hi I have just attempted to install DNN 5.2 on Windows 7 Pro. I followed you video tutorial but I n...
RE: Module Advanced Setting by jncraig
The module contents is distinct and separate from the Module's container on a particular page. Wh...
RE: Community Edition Question by jncraig
The UDT Module has a new name: Form and List. Look for that. If it is not installed, it shoul...
DataSpring Opt In Module - Scheduler Question by wynnjon
Hey-I was wondering if anything special had to be done to keep the site alive so that the scheduler ...
RE: the now content not showing and still showing the old one by jncraig
You probably can't. Your browser is caching the old flash file, and CRTL-F5 forces a reload. If yo...
RE: Nav Menu v2 for DotNetNuke v5 - Issue 52 by jncraig
Here is a nice little blog entry on the subject.(Basically, though, this gives you a nice and clean ...
RE: Flash in the HTML Module by robmacker
OK, so i commented out my AC_RunActiveContent.js file and my HTML module runs the same -- telling me...
RE: Flash in the HTML Module by mcmanta
I had the same problem before. I noticed I had some HTML tags from some error text I copied. I was a...
RE: Creating Portals before setting the host by cyborama
Thanks for the reply Joe, The way my hosting company does things they don't have per say host hea...
RE: Flash in the HTML Module by robmacker
Wow, why does the forum format my question to make it basically unreadable?? I certainly did not typ...
Flash in the HTML Module by robmacker
Hello members! I have a simple flash application that was written for an HTML page and i'm trying...
Send email with Dynamic Forms Results by jesp17
Hello, Is there a way to automatically generate a report with all form results and then send this r...
Community Edition Question by idesofmarch
I'm learning a lot just browsing around here. Wish I could delete my question below. Oh well. Wher...
RE: DNN Site crashed after module install by mcmanta
I found a work around. Looks like the module replaces the Telerik.Web.UI located in the bin folder o...
RE: iHostASP by chandirika
Hi,I am reselling account with this http://www.goresellers.com/ site ,for my web site's web hosting...
the now content not showing and still showing the old one by wael_e
after i uploading the new contenct in my website and i uploading static html page have introdaction ...
RE: Regular Expression by jumatthey
Hi, Thank you very much Mark. It is indeed a name I am checking. Thank you for your help, very mu...
DNN Creative Subscribe
RSS Feeds