If BooleanDecision has no value thenm return null when exporting to docx and pdf
This commit is contained in:
parent
c33ffc153b
commit
1512d0c424
|
@ -343,7 +343,8 @@ public class WordBuilder {
|
|||
}
|
||||
case "booleanDecision":
|
||||
if (field.getValue() != null && field.getValue().equals("true")) return "Yes";
|
||||
else return "No";
|
||||
if (field.getValue() != null && field.getValue().equals("false")) return "No";
|
||||
return null;
|
||||
case "radiobox":
|
||||
return field.getValue() != null ? field.getValue().toString() : null;
|
||||
case "checkBox":
|
||||
|
|
Loading…
Reference in New Issue