From 65a7a8ee56bfcc7d561474fa6bf2dc1372d172f2 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 14 Dec 2015 13:02:08 +0000 Subject: [PATCH] Properly read radio button values inside a form. SVN:trunk[3849] --- js/property_field.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/property_field.js b/js/property_field.js index 3a993655a..fc4ce76a4 100644 --- a/js/property_field.js +++ b/js/property_field.js @@ -634,10 +634,18 @@ function ReadFormParams(sFormId) { oMap[sName] = ($(this).attr('checked') == 'checked'); } + else if (this.type == 'radio') + { + if ($(this).prop('checked')) + { + oMap[sName] = $(this).val(); + } + } else { oMap[sName] = $(this).val(); } + } } });