# Creating forms with Javascript and HTML?

**URL:** <https://forum.kirupa.com/t/creating-forms-with-javascript-and-html/308722>\
**Category:** web dev\
**Created:** [April 28, 2010, 9:20pm UTC](https://forum.kirupa.com/t/creating-forms-with-javascript-and-html/308722 "2010-04-28T21:20:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boebarl1](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@boebarl1](https://forum.kirupa.com/u/boebarl1)\
**Post date:** [April 28, 2010, 9:20pm UTC](https://forum.kirupa.com/t/creating-forms-with-javascript-and-html/308722/1 "2010-04-28T21:20:20Z")

</div>

I am writing trying to create this form and I am wondering how I create multple questions with radio buttons? Can I have one large form with smaller forms inside of that one? I am wondering if the javascript will be able to check all of the forms answers by the parent forms action?  
Anyone have any ideas on how I could accomplish this?

\<form id = “myQuiz” action = “javascript:checkAnswers()”\>

```
   &lt;form&gt;

```

\<p\>1)What Percentage of Lakes Area Recreation’s budget is recieved through public funding?\<br /\>

\<input type = “radio” name = “radiobutton” value = “onehundredpercent” /\>  
\<label\>100%\</label\>\<br /\>

\<input type = “radio” name = “radiobutton” value = “ninetypercent” /\>  
\<label\>90%\</label\>\</p\>\<br /\>  
\</form\>

```
   &lt;form&gt;

```

\<input type = “radio” name = “radiobutton” value = “realmission” /\>  
\<label\>The mission statement of Lakes Area Recreation is to provide recreation and leisure time activities in the broadest sense to all residents of School District #206, using school district, city, and township facilities and funding, along with private resources when available.mnastics, Dance, Swimming, \</label\>\<br /\>

\<input type = “radio” name = “radiobutton” value = “fakemissionthree” /\>  
\<label\>The mission statement of Lakes Area Recreation is to try and force all of the non-athletic people to move away from the Lakes Area.\</label\>\</p\>\<br /\>  
\</p\>  
\</form\>

```
        &lt;input type = "submit" name = "Submit" value = "Submit" /&gt;
        &lt;input type = "reset" name = "reset" value = "Reset" /&gt;
       
  &lt;/form&gt; 

```

Thanks for all the help!  
boebarl1
