Created
May 13, 2019 05:47
-
-
Save raphaelmerx/a57c16aff77be18772baae9f3af15a2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<test id="test" version="vmexRbhSYZzmxbEKqDC2oy"> | |
<start/> | |
<end/> | |
<Incident_title/> | |
<GPS_coordinates/> | |
<Take_a_photo/> | |
<meta> | |
<instanceID/> | |
</meta> | |
</test> | |
</instance> | |
<bind jr:preload="timestamp" jr:preloadParams="start" nodeset="/test/start" type="dateTime"/> | |
<bind jr:preload="timestamp" jr:preloadParams="end" nodeset="/test/end" type="dateTime"/> | |
<bind nodeset="/test/Incident_title" required="false()" type="string"/> | |
<bind nodeset="/test/GPS_coordinates" required="false()" type="geopoint"/> | |
<bind nodeset="/test/Take_a_photo" required="false()" type="binary"/> | |
<bind calculate="concat('uuid:', uuid())" nodeset="/test/meta/instanceID" readonly="true()" type="string"/> | |
</model> | |
</h:head> | |
<h:body> | |
<input ref="/test/Incident_title"> | |
<label>Incident title</label> | |
<hint>Please give a short title to the issue including the event and place. You can give more details later</hint> | |
</input> | |
<input appearance="hide-input" ref="/test/GPS_coordinates"> | |
<label>GPS coordinates</label> | |
<hint>Make sure you are at the site of the problem or as close as you can get.</hint> | |
</input> | |
<upload mediatype="image/*" ref="/test/Take_a_photo"> | |
<label>Take a photo</label> | |
</upload> | |
</h:body> | |
</h:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment