- Forms are authored according to XLSForm standard (using Microsoft Excel)
- These forms are then uploaded to httphttps://ona.io/ which converts them into XForm standard. All OpenSRP forms can be found at https://beta.ona.io/opensrp (this requires login)
- XForm is then converted to Enketo HTML form by running the following command with the <username> replaced by the account name & <form_id> replaced with the actual value
...
Code Block | ||
---|---|---|
| ||
<model> <instance> <hh_reg id="hh_reg" version="201503231156"> <formhub> <uuid/> </formhub> <HH_ID/> <HH_Name/> <ec_repeat template=""> <woman_name/> <husband_name/> <EC_HH_ID/> <EC_HH_Name/> <note/> <raihan_text/> </ec_repeat> <meta> <instanceID/> </meta> </hh_reg> </instance> </model> |
...
This is a sample of how a model.xml would look like. This form has a few questions and as well as a repeating group. Please note the repeating group lies in between the tags "<ec_repeat >".