Solved

Creating a questionnaire form

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

708 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

14 Experts available now in Live!

Get 1:1 Help Now