medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
439 stars 211 forks source link

Cannot have more than one repeat group that creates people within the same form #2393

Open sglangevin opened 8 years ago

sglangevin commented 8 years ago

Per discussion on #1655. Currently we only support person creation in the Add Family form via repeat.child, which is used during family registration. However, there are cases where we'd like to have multiple repeat groups that create people. For example, one repeat group for creating children and one repeat group for creating eligible women (eligible = of childbearing age).

abbyad commented 8 years ago

Is this different than #2313?

sglangevin commented 8 years ago

Good memory @abbyad - I didn't think I had filed this before. Closing, duplicate of #2313.

abbyad commented 8 years ago

It did look a bit familiar :)

alxndrsn commented 7 years ago

Possibly a duplicate of #2313, but the discussions are both interesting.

alxndrsn commented 7 years ago

@sglangevin is there an example form available that demonstrates this bug?

sglangevin commented 7 years ago

See example here: https://github.com/medic/medic-webapp/issues/2313#issuecomment-288573330

alxndrsn commented 7 years ago

This may be fixed by #2912

alxndrsn commented 7 years ago

This doesn't seem to be a restriction of enketo, so presumably related to our app's handling of contact forms.