8.1.1.b non-relevant form control becoming relevant <name>Fred</name> </first-name> <last-name/> <switch>0</switch> </person-name> </xforms:instance> <xforms:bind id="fname_bind" nodeset="/person-name/first-name" relevant="/person-name/switch > 1"/> <xforms:setvalue ev:event="xforms-ready" ref="/person-name/switch">2</xforms:setvalue> </xforms:model> </xhtml:head> <xhtml:body> <xforms:group> <xforms:label class="title">8.1.1.b non-relevant form control becoming relevant</xforms:label> </xforms:group> <xforms:group> <xforms:label> You must see an xforms-enabled message, an xforms-value-changed message, an xforms-valid message, an xforms-readwrite message, an xforms-optional message, and an xforms-in-range message. </xforms:label> </xforms:group> <xforms:input ref="/person-name/first-name/name"> <xforms:label>First Name:</xforms:label> <xforms:message level="modal" ev:event="xforms-enabled">xforms-enabled</xforms:message> <xforms:message level="modal" ev:event="xforms-value-changed">xforms-value-changed</xforms:message> <xforms:message level="modal" ev:event="xforms-valid">xforms-valid</xforms:message> <xforms:message level="modal" ev:event="xforms-readwrite">xforms-readwrite</xforms:message> <xforms:message level="modal" ev:event="xforms-optional">xforms-optional</xforms:message> <xforms:message level="modal" ev:event="xforms-in-range">xforms-in-range</xforms:message> </xforms:input> </xhtml:body> </xhtml:html>