Created
July 15, 2014 10:13
-
-
Save olafveerman/d74379600f0c063320e1 to your computer and use it in GitHub Desktop.
Support material for 'Openrosa for Call centers'
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:h="http://www.w3.org/1999/xhtml" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:jr="http://openrosa.org/javarosa"> | |
<h:head> | |
<h:title>Simple Form</h:title> | |
<model> | |
<!-- instance --> | |
<instance> | |
<data id="myform" > | |
<meta> | |
<instanceID/> | |
</meta> | |
<mystring/> | |
</data> | |
</instance> | |
<!-- bindings --> | |
<bind nodeset="/data/meta/instanceID" type="string" | |
readonly="true()" calculate="concat('uuid:',uuid())" /> | |
<bind nodeset="/data/mystring" type="string"/> | |
</model> | |
</h:head> | |
<!-- body --> | |
<h:body> | |
<input ref="/data/mystring"> | |
<label>This is a string prompt</label> | |
<hint>You don't need a hint, but you can add one</hint> | |
</input> | |
</h:body> | |
</h:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment