Update GameQuestion.html
age and gender
This commit is contained in:
parent
456d185852
commit
8cf80f7569
@ -312,6 +312,22 @@
|
|||||||
None of above
|
None of above
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
|
<script>
|
||||||
|
function renew( ){
|
||||||
|
if ($("input[name='gender']").val()=="D"){
|
||||||
|
$("input[name='gender']").val($("input[type='text']").val())
|
||||||
|
}
|
||||||
|
|
||||||
|
if( $("input[name='age']").val()=="A"){
|
||||||
|
$("input[name='age']").val($("input[type='number']").val())
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<h4>4. How often do you play games?</h4>
|
<h4>4. How often do you play games?</h4>
|
||||||
@ -340,12 +356,12 @@
|
|||||||
<p>
|
<p>
|
||||||
<h4>5. What is your age?</h4>
|
<h4>5. What is your age?</h4>
|
||||||
<label>
|
<label>
|
||||||
<input type="radio" class="option-input radio" name="age" value="">
|
<input type="radio" class="option-input radio" name="age" value= "A">
|
||||||
<input type="number" value="" step="1" placeholder="Input your age">
|
<input type="number" value="" step="1" placeholder="Input your age">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<input type="radio" class="option-input radio" name="age" value="E">
|
<input type="radio" class="option-input radio" name="age" value="B">
|
||||||
Prefer not to say
|
Prefer not to say
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
@ -364,20 +380,10 @@
|
|||||||
<input type="radio" class="option-input radio" name="gender" value="C">
|
<input type="radio" class="option-input radio" name="gender" value="C">
|
||||||
Prefer not to say
|
Prefer not to say
|
||||||
</label>
|
</label>
|
||||||
<script>
|
|
||||||
function renew( ){
|
|
||||||
|
|
||||||
$("input[name='gender']").val($("input[type='text']").val())
|
|
||||||
$("input[name='age']").val($("input[type='number']").val())
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
<label>
|
<label>
|
||||||
<input type="radio" class="option-input radio" name="gender" value=" ">
|
<input type="radio" class="option-input radio" name="gender" value= "D">
|
||||||
Other:
|
Other:
|
||||||
<input type="text" value="">
|
<input type="text" value="">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user