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:5079


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

RE: Plz Help. Page_Load_Exception by jncraig
Can you provide a URL?
RE: Custom Textbox Size by jncraig
For the second part, you can switch the editor to source mode and enter unstyled text. For the fi...
RE: Picture size limits by jncraig
The little red x's generally mean that the link to the image is broken.  My guess is that you have a...
RE: Uploading an MP3 file to my website by jncraig
web.config is in the root directory of your DotNetNuke installation.  ALWAYS (!!) make a backup copy...
RE: Customizing registration page by kana
Ok, thank You for answers. I'll try to make it with OWS. Marek
Picture size limits by Doug_s
I'm lost - I've just changed host and a few thing that used to work don't, plus I can't display anyt...
RE: How to Limit Access to Administrator Modules in DotNetNuke 5 - issue 50 by samjst
Hi, Did you manage to solve the problem? I'm facing the same issue: users with access to add and...
Ealo Tab Localization help by sadabahar83
hi, I have installed Ealo Core Api and Ealo tab localization and ealo Menu provider. menu is wor...
Custom Textbox Size by PopeOMalley
Hello everyone,Do you know if there is a way to customize the size of a textbox control on the Manag...
RE: DotNetMushroom RAD by md-pv
That sounds interessting too. I'll check it. Thanks a lot.
RE: Plz Help. Page_Load_Exception by zaidkhan
thanks alot for replying Sir,Well.. my Under Construction Redirect issues are more general and they ...
RE: Uploading an MP3 file to my website by billkidwell
Joseph - I added the mp3 extenison to the list. It still diod not work. No error message but it did ...
RE: Uploading an MP3 file to my website by jncraig
Two things could go wrong.First, mp3 might not be an allowed file type.  You should have received an...
RE: Uploading an MP3 file to my website by billkidwell
Joseph - Thanks, but I see my post was unclear. I tried to upload the MP3 and teh uplaod failed. No ...
RE: What are best tools for localization? by jncraig
The modules from Apollo and the EALO and Magic Content modules are the ones that I would use.  I don...
RE: Customizing registration page by jncraig
You can add three fields to the user profile as you describe.  No coding is required.  Look at the M...
RE: Different skins based on browsers by jncraig
The Minimal Extropy skin that is distributed with DotNetNuke 5 includes the functionality that allow...
RE: DotNetMushroom RAD by jncraig
SGSV is "SQL Grid Selected View" if I remember correctly.  It is from Tressleworks.ca.  It is very i...
RE: Uploading an MP3 file to my website by jncraig
That will work just fine. You could also put the link in a module that's visible only to the paying...
Uploading an MP3 file to my website by billkidwell
Is there a trick to uploading an MP3 file to my website? Or even a better solution? I want to allow ...
AppTheory
RSS Feeds