Solved

Creating a questionnaire form

Posted on 2014-09-17
4
103 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 109

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 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