Popular Help Content

No popular content.

Versions Compared

Key

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

...

instance('casedb')/casedb/case[@case_id=instance('commcaresession')/session/data/case_id]/@case_type


Note: if your form doesn't already access the casedb (IE load case properties into the form) then you will need to manually instantiate the casedb instance to reference in the form. You can do this by adding the following line in your <model> block (at the same level as the binds) in the source XML:

<instance id="casedb" src="jr://instance/casedb"/>

Dynamic Multiselect Inputs (Custom Forms Only

...

In CC2.0, it is fairly straightforward to use itemsets to control the choices available in selections. Doing so requires setting up four things:

...