diff --git a/www/form/inner.js b/www/form/inner.js index 230a6aea7..f281d8452 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -3871,7 +3871,7 @@ define([ return; } rules.forEach(function (obj) { - var idx = available.indexOf(obj.q); + var idx = available.indexOf(String(obj.q)); // If this question doesn't exist before the section, remove the condition if (!obj.q || idx === -1) { var cIdx = rules.indexOf(obj);