Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListConditional fields in the FormConditional fields in the Form
Previous
 
Next
New Post
4/19/2013 2:03 AM
 

Hi all, I am new to DNN and modules. Sorry if my question is poor or I am expecting too much from a module..

I am using the latest version at the time of writing this post of both DNN and Form and List Module.

I am trying to make a form that will collected data and the resulting list will be viewable by admin. It is similar to a feedback/contact form where the users fills the form and submits. On submit the data is saved and emails are send to the user and the admin(s).

The problem is that some fields are conditional. Eg:

Q1. Type of query(Text): Values=General;Services;Supplier;Career
Q2: Services(Checkbox list): Values: Service1;Service2;Service3;Service4;
Q3: Details of Enquiry(RichText)
Q4:Name(text)
etc......

What I want to achieve is, 
Show Q2 only if "Services" what chosen from the Q1 dropdown
Show Q3 only if "General" is selected from Q1 dropdown
Redirect user to another URL if "Supplier" is chosen from Q1 dropdown.

Redirect user to another URL in a new browser window if "Career" is chosen from Q1 dropdown.

I am not able to find a way to do this using Form and List module. 

Am I going at this wrong and should I be doing something else to achieve this functionality?

Additionally, how would I allow a file upload with the form?

Thanks very much in advance.

 

 
New Post
4/19/2013 2:43 AM
 
Hi Vaibhav,

Better, you create your own custom module having desired functionality.
All the requirements that you have listed over here can be easily achievable using C# code. Also, you can use asp file upload control for uploading the file with the form.

Thanks,
Avinash Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
4/19/2013 2:46 AM
 
Hi Avinash, thanks for replying.

I am really new to DNN and dont know much about module creation like how do save data to the DB..

Can you tell me if there is a module I can use to build just conditional forms?

i.e just for this part:

What I want to achieve is,
Show Q2 only if "Services" what chosen from the Q1 dropdown
Show Q3 only if "General" is selected from Q1 dropdown
 
New Post
4/19/2013 6:52 AM
 
Hi Vaibhav,

I can't say exactly whether this kind of module is available or not, but why you search for this conditional module, better you can create you own custom module with conditional logic rather than searching for any module. As it can be easily implemented.

Thanks,
Avinash Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
4/19/2013 7:18 AM
 
I don't feel that the answer as above helps in any way. Especially when the post starter mentioned that he wasn't much into module development / programming.

What I feel is that somebody tries to increase his post count.

As for the gist of the inquiry the Form and List module is the right choice but it requires some XSLT knowledge. More on this can be found here, here and here.

English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListConditional fields in the FormConditional fields in the Form


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out