getodk / xforms-spec

The XForms-derived specification used in the ODK ecosystem. If you are interested in building a tool that is compliant with the forms rendered by ODK tools, this is the place to start. ✨⚒✨
https://getodk.github.io/xforms-spec/
30 stars 26 forks source link

Edit 'Default values in repeats' #261

Open MartijnR opened 4 years ago

MartijnR commented 4 years ago

To add or refer to<setvalue> action to add defaults with the odk-new-repeat (and odk-instance-first-load) events.

Perhaps jr:template can be removed entirely as it has become obsolete (once pyxform no longer outputs it).

Though need to check how pyxform outputs static defaults for repeats.