Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion ajax/showfields.php
Original file line number Diff line number Diff line change
@@ -5,4 +5,3 @@
$visibility = PluginFormcreatorFields::updateVisibility($currentValues);
echo json_encode($visibility);
exit();

5 changes: 3 additions & 2 deletions inc/fields.class.php
Original file line number Diff line number Diff line change
@@ -181,8 +181,9 @@ public static function isVisible($id, $values) {
$nextLogic = 'OR';
}
if (!isset($values[$condition['field']])) {
unset($evalQuestion[$id]);
return false;
//unset($evalQuestion[$id]);
//return false;
$values[$condition['field']] = '';
}
if (!self::isVisible($condition['field'], $values)) {
unset($evalQuestion[$id]);

0 comments on commit 6bce6e7

Please sign in to comment.