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


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

Folder permissions by saintX
Hello, Can I set the folder permissions on the remote server myself using DW or WVD? If possi...
RE: How to do links? by Guy..L
It's really hard to tell quite how awesome DNN Nav v2 is given the documentation and search results ...
Regarding Editor by prithviraj
Pls let me know whar folders we need to upload when we are changing editors. Suppose i have cute edi...
RE: Change Registration Redirect? by leesykes
It would be best to use Dynamic Registration to avoid 2 registrations.With Dynamic Registration you ...
Indexing DNN pages by Google by Jake Vizner
I have two different DNN web sites. Using Google Webmaster Tools I can see the Google indexed 12 out...
Query Regarding RAD EDitor by prithviraj
Hi, I'm using R.A.D editor in my site. At the time of adding images through the editor I'm unabl...
RE: while installing bulk emailer module in my website by jncraig
Yes, this definitely is a file permissions issue. The default ASP.NET worker task needs to have ful...
RE: Background Music by jncraig
That will work.
RE: Auto create pages and content by dhassall
Hi Joe DNN Out of the box version 4.9 Login as Host with Firefox to create and IE8 to monitor, CTR...
RE: while installing bulk emailer module in my website by dub
Agiline, We have seen this problem before. It is caused by the Security on IIS. Please have a loo...
RE: Change Registration Redirect? by ollep
Probably still want to do it with Dynamic Forms now.My reason for changing (except from getting Aweb...
RE: Change Registration Redirect? by ollep
YES!http://www.dnncreative.com/Subscribe/tabid/81/Default.aspx
RE: Change Registration Redirect? by ollep
Yes I noticed that we where talking about 2 different Modules as soon as I dug into the tutorials.Ab...
RE: Change Registration Redirect? by leesykes
If you are check out the links that I have placed in there:http://www.dnncreative.com/Subscribe/tabi...
RE: Change Registration Redirect? by leesykes
Are you referring to when subscribing there is a link to register and after they register it sends t...
RE: Change Registration Redirect? by leesykes
The method I use on here for managing my email list is complicated and involves SQL queries, it is b...
Ecommerce module needed by vishalranaut
Infyecommerce is providing ecommerce packages for the clients to develop their ecommerce sites.They ...
RE: DS Dynamic Forms / AWeber by leesykes
If you are getting time out issues when installing I would use the auto install method by using FTP,...
RE: Change Registration Redirect? by ollep
Oooops Helps reading your responses before posting here Lee. I referred to Issue 40 / 41 and ...
DS Dynamic Forms / AWeber by ollep
Thanks for a great Tutorial Lee!  - As usual.(I still can't install the module in Firefox though, Fi...
DNN Creative Subscribe
RSS Feeds