Trigger second form

I have been experimenting with the “instance::db-doc” column to generate pull other form from a form.

initially I though this would start the subform in the form filler (enketo) but it seams it only create a fake submission, the docs seems to confirm Creating Additional Docs from App Forms | Community Health Toolkit) ?

I read here that there is no solution but I think I won’t be the only one needing it

Here some use cases:

  • immunization have some complex skip logic, other questionnaire will benefit of starting it without copy/pasting the questions
  • complex questionnaire (we are reaching 2000 lines on the xlsx) are slow, they will would benefit of being sliced up
  • sometime a questionnaire follows directly another questionnaire but other time a task will be created for the second questionnaire to be done later in case like out of stock or time consuming activity required etc (duplication of the questions make it difficult to maintain)

regarding the question “e.g. passing data to the new forms”

I think having an “inputs” group on the same level as the “instance::db-doc” could fake the task approach

Similar post: