change form with the desorder input

parent cd422817
......@@ -37,6 +37,18 @@
 
<label for="male">පිරිමි</label>
<br><br>
<label><b>ඔබේ දරුවා අවදානය යොමු කි‍‍රීමේ යම් දුර්වලතාවක් පෙන්නුම් කරයිද :</b></label>
<br>
&nbsp;&nbsp;&nbsp;
<input type="radio" name="disorder" id="yes" value="yes" required>
&nbsp;
<label for="yes">ඔව්</label>
&nbsp;&nbsp;&nbsp;
<input type="radio" name="disorder" id="no" value="no" required>
&nbsp;
<label for="no">නැත</label>
<br><br>
<input type="button" value="තහවුරු කරන්න" name="submit" id="submit">
</form>
......@@ -56,7 +68,8 @@
data: {
"cname": $("#cname").val(),
"age": $("#age").val(),
"gender": $("input[name='gender']:checked").val()
"gender": $("input[name='gender']:checked").val(),
"disorder": $("input[name='disorder']:checked").val()
},
success: function (data) {
// Ajax call completed successfully
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment