Solved

Creating a questionnaire form

Posted on 2014-09-17
4
100 Views
Last Modified: 2014-09-30
I am looking to create a questionnaire. (hopefully someone know of a script).
 It will go as follows

Question - How many people attending?

( drop box with numbers 1 - 10 for them to select)

If 3 was selected then they get 3 forms to fill out asking certain questions. If 5 was selected they would get 5 forms to fill out etc.
0
Comment
Question by:Pat Shortt
  • 2
4 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40328976
Something like this

http://jsfiddle.net/03vr9vuh/3/

forms = $("#myform").html()

$("#people").change(function () {
    $("#myform").html("")
    for (i = 0; i <= $(this).val() - 1; i++) {
        $("#myform").append(forms)
    }
    $("#myform").css("display", "block")
})

Open in new window

0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 40328999
Save time and money: https://www.surveymonkey.com/
0
 

Author Comment

by:Pat Shortt
ID: 40329002
Yes something like that but looking for something like below.


form.PNG
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40329005
Well you just have to add in your own fields inside the form.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now