If statements are always false
-
I just squealed when I realized I could potentially replace the broken Calculated Fields plugin with yours.
Can you tell me why the template below returns false instead of what I add to the Else statement? Using Math alone without If works, but I don’t want to see “false” when the total units field doesn’t exist.
<If acf_editor=propsum_total_units exists> <Math><Field acf_editor=propsum_total_units /> / <Field acf_editor=builinfo_number_parking_spaces /></Math> <Else /> it doesn't matter it always says false if total units doesn't exist </If>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘If statements are always false’ is closed to new replies.