Skip to content

Instantly share code, notes, and snippets.

@MartijnR
Created August 23, 2018 19:27
Show Gist options
  • Save MartijnR/b3ffab9cd8cd338f56f696fbe90960e7 to your computer and use it in GitHub Desktop.
Save MartijnR/b3ffab9cd8cd338f56f696fbe90960e7 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<h:html xmlns="http://www.w3.org/2002/xforms"
xmlns:enk="http://enketo.org/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:oc="http://openclinica.com/xforms"
xmlns:orx="http://openrosa.org/xforms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>XForm_SAS</h:title>
<model>
<instance>
<sas1_crf_v2 id="6d16dff9-4c3d-40d1-8e45-9424075216b5-F_SAS1" version="v2.0">
<Format_G1 jr:template="">
<SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1/>
<SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2/>
<SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1_comment oc:queryParent="SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1"/>
<SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2_comment oc:queryParent="SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2"/>
</Format_G1>
<Format_G2 jr:template="">
<SAS_Question_2/>
<SAS_Question_2_comment oc:queryParent="SAS_Question_2"/>
</Format_G2>
<meta>
<instanceID/>
<instanceID_comment oc:queryParent="instanceID"/>
</meta>
</sas1_crf_v2>
</instance>
<bind nodeset="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1" oc:itemgroup="SAS_group_to_determine_if_new_logic_can_handle_group_names_that_are_very_long1" type="string"/>
<bind nodeset="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2" oc:itemgroup="SAS_group_to_determine_if_new_logic_can_handle_group_names_that_are_very_long1" type="string"/>
<bind nodeset="/sas1_crf_v2/Format_G2/SAS_Question_2" oc:itemgroup="SAS_group_to_determine_if_new_logic_can_handle_group_names_that_are_very_long2" type="decimal"/>
<bind calculate="concat('uuid:', uuid())" nodeset="/sas1_crf_v2/meta/instanceID" readonly="true()" type="string"/>
<bind enk:for="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1" nodeset="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1_comment" type="string"/>
<bind enk:for="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2" nodeset="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2_comment" type="string"/>
<bind enk:for="/sas1_crf_v2/Format_G2/SAS_Question_2" nodeset="/sas1_crf_v2/Format_G2/SAS_Question_2_comment" type="string"/>
<!--<instance id="_users" src="jr://file-csv/users.xml"/>-->
</model>
</h:head>
<h:body class="pages no-text-transform">
<group appearance="no-collapse" ref="/sas1_crf_v2/Format_G1">
<label>Group with Long Name 1</label>
<repeat appearance="field-list no-collapse" nodeset="/sas1_crf_v2/Format_G1">
<input ref="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1">
<label>Please give us your opinion</label>
</input>
<input ref="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2">
<label>Please give us another opinion</label>
</input>
<input appearance="dn w1" ref="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long1_comment">
<label>Comment:</label>
</input>
<input appearance="dn w1" ref="/sas1_crf_v2/Format_G1/SAS_Question_to_determine_if_new_logic_can_handle_item_names_that_are_very_long2_comment">
<label>Comment:</label>
</input>
</repeat>
</group>
<group appearance="no-collapse" ref="/sas1_crf_v2/Format_G2">
<label>Group with Long Name 2</label>
<repeat appearance="field-list no-collapse" nodeset="/sas1_crf_v2/Format_G2">
<input ref="/sas1_crf_v2/Format_G2/SAS_Question_2">
<label>Please enter a decimal</label>
<hint>A decimal is not a whole number</hint>
</input>
<input appearance="dn w1" ref="/sas1_crf_v2/Format_G2/SAS_Question_2_comment">
<label>Comment:</label>
</input>
</repeat>
</group>
</h:body>
</h:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment