Skip to content

Instantly share code, notes, and snippets.

@raphaelmerx
Last active June 4, 2019 02:27
Show Gist options
  • Save raphaelmerx/4ea0f69b72b2caa03fcef4b4a679f8c4 to your computer and use it in GitHub Desktop.
Save raphaelmerx/4ea0f69b72b2caa03fcef4b4a679f8c4 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:odk="http://www.opendatakit.org/xforms" xmlns:orx="http://openrosa.org/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>test</h:title>
<model>
<instance>
<animal-test id="animal-test">
<animal_more_or_less_1/>
<meta>
<instanceID/>
</meta>
</animal-test>
</instance>
<bind nodeset="/animal-test/animal_more_or_less_1" required="true()" type="select1"/>
<bind calculate="concat('uuid:', uuid())" nodeset="/animal-test/meta/instanceID" readonly="true()" type="string"/>
</model>
</h:head>
<h:body class="pages">
<select1 ref="/animal-test/animal_more_or_less_1">
<label> Compared to this time last year is there more, less or the same amount of <output value=" /animal-test/animal_names/animal_name_1 "/> in the protected area? </label>
<item>
<label>More</label>
<value>more</value>
</item>
<item>
<label>Less</label>
<value>less</value>
</item>
<item>
<label>Same</label>
<value>same</value>
</item>
<item>
<label>Don't know</label>
<value>dont_know</value>
</item>
</select1>
</h:body>
</h:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment