UNPKG

medic-enketo-xslt

Version:

XSL stylesheets for the Enketo XForm transformation to be run client-side in a web browser

7 lines (3 loc) 2.26 kB
<form autocomplete="off" novalidate="novalidate" class="or clearfix" dir="ltr" id="V"><!--This form was created by transforming a OpenRosa-flavored (X)Form using an XSL stylesheet created by Enketo LLC.--><section class="form-logo"> </section><h3 dir="auto" id="form-title">ANC Visit Report</h3> <label class="question non-select or-appearance-numbers "><span lang="" class="question-label active">Pregnancy ID</span><span class="required">*</span><span lang="" class="or-hint active">This is the 5 digit number associated to this woman's pregnancy</span><input type="text" name="/data/outputs/pregnancy_id" data-required="true()" data-type-xml="string"/><span class="or-constraint-msg active" lang="" data-i18n="constraint.invalid">Value not allowed</span><span class="or-required-msg active" lang="" data-i18n="constraint.required">This field is required</span></label> <fieldset id="or-preload-items" style="display:none;"><label class="calculation non-select "><input type="hidden" name="/data/meta/start" data-preload="timestamp" data-preload-params="start" data-type-xml="dateTime"/></label><label class="calculation non-select "><input type="hidden" name="/data/meta/end" data-preload="timestamp" data-preload-params="end" data-type-xml="dateTime"/></label><label class="calculation non-select "><input type="hidden" name="/data/meta/subscriberID" data-preload="property" data-preload-params="uri:subscriberid" data-type-xml="string"/></label><label class="calculation non-select "><input type="hidden" name="/data/meta/deviceID" data-preload="property" data-preload-params="uri:deviceid" data-type-xml="string"/></label><label class="calculation non-select "><input type="hidden" name="/data/meta/phonenumber" data-preload="property" data-preload-params="phonenumber" data-type-xml="string"/></label></fieldset><fieldset id="or-calculated-items" style="display:none;"><label class="calculation non-select "><input type="hidden" name="/data/meta/instanceID" data-calculate="concat('uuid:', uuid())" data-type-xml="string"/></label><label class="calculation non-select "><input type="hidden" name="/data/meta/instanceName" data-calculate="concat('Visit: ', /data/outputs/pregnancy_id )" data-type-xml="string"/></label></fieldset></form>