Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

 You can join two or more values in CommCare using "concatenate."

  • Create a hidden value that joins together the items- for example item1, item2, item3
  • concat(#form/

...

  • /item1,#form/

...

  • /item2,#form/

...

  • /item3)

Examples

...

Simple Example

Icon

This example of the concatenate function takes a "first name" and "surname" and puts them into a value called #form/

...

/fullname. The quotations ' ' put a space between the two values. This would output a name as "John Snow" instead of "JohnSnow."

...

Image Added