Fix bug on from_confrim using ajax and radio button question type
This commit is contained in:
parent
b9bfccd0e2
commit
44cd024f89
@ -2517,6 +2517,7 @@ class Form
|
|||||||
$.each(inputok, function(i, inputname) {
|
$.each(inputok, function(i, inputname) {
|
||||||
var more = "";
|
var more = "";
|
||||||
if ($("#" + inputname).attr("type") == "checkbox") { more = ":checked"; }
|
if ($("#" + inputname).attr("type") == "checkbox") { more = ":checked"; }
|
||||||
|
if ($("#" + inputname).attr("type") == "radio") { more = ":checked"; }
|
||||||
var inputvalue = $("#" + inputname + more).val();
|
var inputvalue = $("#" + inputname + more).val();
|
||||||
if (typeof inputvalue == "undefined") { inputvalue=""; }
|
if (typeof inputvalue == "undefined") { inputvalue=""; }
|
||||||
options += "&" + inputname + "=" + inputvalue;
|
options += "&" + inputname + "=" + inputvalue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user