Logic Syntax Guidelines

This page provides guidance for some of the basic principles and practices of writing calculations or logic in CommCare

Single vs Double Quotations

Generally values in display or calculation conditions will be inside quotes

 

You can use single quotes or double quotes, both work fine.

Spaces

Spaces generally will not matter (i.e. Will be ignored) unless they are inside quotes.