<?xml version="1.0" encoding="utf-8"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:enk="http://enketo.org/xforms" xmlns:esri="http://esri.com/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>Employee Bio Data</h:title>
    <model>
      <instance>
        <Sample_XLSForm_Employee_BioData id="Employee_BioData" version="2019010801">
          <formhub>
            <uuid/>
          </formhub>
          <start000000/>
          <end00000000/>
          <phonenumber/>
          <username/>
          <email/>
          <timestarted/>
          <personal_info>
            <name/>
            <dob/>
            <address/>
            <city/>
            <state/>
            <country/>
            <phone_number/>
            <email/>
          </personal_info>
          <position_info>
            <employer/>
            <title/>
            <teamlead/>
            <employ_type/>
            <employ_days/>
          </position_info>
          <meta>
            <instanceID/>
            <instanceName/>
          </meta>
        </Sample_XLSForm_Employee_BioData>
      </instance>
      <bind jr:preload="timestamp" jr:preloadParams="start" nodeset="/Sample_XLSForm_Employee_BioData/start000000" type="dateTime"/>
      <bind jr:preload="timestamp" jr:preloadParams="end" nodeset="/Sample_XLSForm_Employee_BioData/end00000000" type="dateTime"/>
      <bind jr:preload="property" jr:preloadParams="phonenumber" nodeset="/Sample_XLSForm_Employee_BioData/phonenumber" type="string"/>
      <bind jr:preload="property" jr:preloadParams="username" nodeset="/Sample_XLSForm_Employee_BioData/username" type="string"/>
      <bind jr:preload="property" jr:preloadParams="email" nodeset="/Sample_XLSForm_Employee_BioData/email" type="string"/>
      <bind calculate="format-date-time(now(),'%H:%M')" nodeset="/Sample_XLSForm_Employee_BioData/timestarted" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/name" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/dob" type="date"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/address" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/city" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/state" type="select1"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/country" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/phone_number" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/personal_info/email" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/position_info/employer" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/position_info/title" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/position_info/teamlead" type="string"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/position_info/employ_type" type="select1"/>
      <bind nodeset="/Sample_XLSForm_Employee_BioData/position_info/employ_days" type="select"/>
      <bind calculate="concat('uuid:', uuid())" nodeset="/Sample_XLSForm_Employee_BioData/meta/instanceID" readonly="true()" type="string"/>
      <bind calculate="concat( /Sample_XLSForm_Employee_BioData/start000000 ,' ', /Sample_XLSForm_Employee_BioData/timestarted )" nodeset="/Sample_XLSForm_Employee_BioData/meta/instanceName" type="string"/>
      <bind calculate="'4afab88ea99941b38d8cc0cba4684ab5'" nodeset="/Sample_XLSForm_Employee_BioData/formhub/uuid" type="string"/>
    </model>
  </h:head>
  <h:body class="pages">
    <group ref="/Sample_XLSForm_Employee_BioData/personal_info">
      <label>Personal Information</label>
      <input ref="/Sample_XLSForm_Employee_BioData/personal_info/name">
        <label>Full Name:</label>
      </input>
      <input appearance="calendar" ref="/Sample_XLSForm_Employee_BioData/personal_info/dob">
        <label>Date of Birth:</label>
      </input>
      <input ref="/Sample_XLSForm_Employee_BioData/personal_info/address">
        <label>House Address</label>
      </input>
      <input ref="/Sample_XLSForm_Employee_BioData/personal_info/city">
        <label>City</label>
      </input>
      <select1 appearance="minimal" ref="/Sample_XLSForm_Employee_BioData/personal_info/state">
        <label>State</label>
        <item>
          <label>Abia</label>
          <value>abia</value>
        </item>
        <item>
          <label>Adamawa</label>
          <value>adamawa</value>
        </item>
        <item>
          <label>Akwa-Ibom</label>
          <value>akwa_ibom</value>
        </item>
        <item>
          <label>Anambra</label>
          <value>anambra</value>
        </item>
        <item>
          <label>Bauchi</label>
          <value>bauchi</value>
        </item>
        <item>
          <label>Bayelsa</label>
          <value>bayelsa</value>
        </item>
        <item>
          <label>Benue</label>
          <value>benue</value>
        </item>
        <item>
          <label>Borno</label>
          <value>borno</value>
        </item>
        <item>
          <label>Cross River</label>
          <value>cross_river</value>
        </item>
        <item>
          <label>Delta</label>
          <value>delta</value>
        </item>
        <item>
          <label>Ebonyi</label>
          <value>ebonyi</value>
        </item>
        <item>
          <label>Edo</label>
          <value>edo</value>
        </item>
        <item>
          <label>Ekiti</label>
          <value>ekiti</value>
        </item>
        <item>
          <label>Enugu</label>
          <value>enugu</value>
        </item>
        <item>
          <label>FCT</label>
          <value>fct</value>
        </item>
        <item>
          <label>Gombe</label>
          <value>gombe</value>
        </item>
        <item>
          <label>Imo</label>
          <value>imo</value>
        </item>
        <item>
          <label>Jigawa</label>
          <value>jigawa</value>
        </item>
        <item>
          <label>Kaduna</label>
          <value>kaduna</value>
        </item>
        <item>
          <label>Kano</label>
          <value>kano</value>
        </item>
        <item>
          <label>Katsina</label>
          <value>katsina</value>
        </item>
        <item>
          <label>Kebbi</label>
          <value>kebbi</value>
        </item>
        <item>
          <label>Kogi</label>
          <value>kogi</value>
        </item>
        <item>
          <label>Kwara</label>
          <value>kwara</value>
        </item>
        <item>
          <label>Lagos</label>
          <value>lagos</value>
        </item>
        <item>
          <label>Nasarawa</label>
          <value>nasarawa</value>
        </item>
        <item>
          <label>Niger</label>
          <value>niger</value>
        </item>
        <item>
          <label>Ogun</label>
          <value>ogun</value>
        </item>
        <item>
          <label>Ondo</label>
          <value>ondo</value>
        </item>
        <item>
          <label>Osun</label>
          <value>osun</value>
        </item>
        <item>
          <label>Oyo</label>
          <value>oyo</value>
        </item>
        <item>
          <label>Plateau</label>
          <value>plateau</value>
        </item>
        <item>
          <label>Rivers</label>
          <value>rivers</value>
        </item>
        <item>
          <label>Sokoto</label>
          <value>sokoto</value>
        </item>
        <item>
          <label>Taraba</label>
          <value>taraba</value>
        </item>
        <item>
          <label>Yobe</label>
          <value>yobe</value>
        </item>
        <item>
          <label>Zamfara</label>
          <value>zamfara</value>
        </item>
      </select1>
      <input ref="/Sample_XLSForm_Employee_BioData/personal_info/country">
        <label>Country</label>
      </input>
      <input appearance="number" ref="/Sample_XLSForm_Employee_BioData/personal_info/phone_number">
        <label>Phone Number</label>
      </input>
      <input ref="/Sample_XLSForm_Employee_BioData/personal_info/email">
        <label>Email address</label>
      </input>
    </group>
    <group ref="/Sample_XLSForm_Employee_BioData/position_info">
      <label>Position Information</label>
      <input ref="/Sample_XLSForm_Employee_BioData/position_info/employer">
        <label>Employer Name</label>
      </input>
      <input ref="/Sample_XLSForm_Employee_BioData/position_info/title">
        <label>Position Title</label>
      </input>
      <input ref="/Sample_XLSForm_Employee_BioData/position_info/teamlead">
        <label>Team Lead</label>
      </input>
      <select1 ref="/Sample_XLSForm_Employee_BioData/position_info/employ_type">
        <label>Employment Type</label>
        <item>
          <label>Time-based</label>
          <value>time_based</value>
        </item>
        <item>
          <label>Hybrid</label>
          <value>hybrid</value>
        </item>
        <item>
          <label>Freelance</label>
          <value>freelance</value>
        </item>
      </select1>
      <select ref="/Sample_XLSForm_Employee_BioData/position_info/employ_days">
        <label>Usual days of employment</label>
        <item>
          <label>Monday</label>
          <value>monday</value>
        </item>
        <item>
          <label>Tuesday</label>
          <value>tuesday</value>
        </item>
        <item>
          <label>Wednesday</label>
          <value>wednesday</value>
        </item>
        <item>
          <label>Thursday</label>
          <value>thursday</value>
        </item>
        <item>
          <label>Friday</label>
          <value>friday</value>
        </item>
      </select>
    </group>
  </h:body>
</h:html>
