Solved

Creating a questionnaire form

Posted on 2014-09-17
4
111 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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…

752 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