Solved

Creating a questionnaire form

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 66
How to use session variables in php? 22 42
Generate PDF's using TCPDF - Initial Set Up 9 29
Making Table Thru ASP Response.write 5 19
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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.
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…

685 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