<section id="survivor_background" sectionTag="section" headerStyle="title" headerLabel="Survivor's Background"> <fieldset> <!--Mother Tongue--> <legend><lookup expression="fn.getConcept('162638').name"/></legend>
<p class="left"> <h3><lookup expression="fn.getConcept('162638').name"/></h3> <obs id="mother-tongue" conceptId="162638" > <controls> <when value="5622" thenJavaScript="htmlForm.simpleUi.showField('mother-tongue-other')" elseJavaScript="htmlForm.simpleUi.hideField('mother-tongue-other')"/> </controls> </obs> </p> <!--Mother Tongue Other--> <!--Display the "other mother tongue" question if other is selected in the question--> <p id="mother-tongue-other" class="left"> <h3><lookup expression="fn.getConcept('162650').name"/></h3> <obs conceptId="162650"/> </p> </fieldset>
</section>--
OpenMRS Implementers: http://om.rs/implist
Post: implem...@openmrs.org | Unsubscribe: implementers...@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
To unsubscribe from this group and stop receiving emails from it, send an email to implementers...@openmrs.org.
Hi Craig,You can ignore the 404 errors on *.min.js.map.I couldn't find any documentation on how to get the latest snapshot build of a module, so I wrote it up here: https://wiki.openmrs.org/questions/79659906/how-do-i-install-the-latest-snapshot-version-of-a-module.However I peeked at the history of the htmlformentryui module, and I don't think this is the issue.I'm afraid you might have to do something like inspect elements in the browser to see if anything (e.g. a CSS class) is actually changing on the should-be-hidden element when you change the other one. Or use the JavaScript debugger...Also, make sure you're using the latest release of the HTML Form Entry module (the docs say that thenJavascript/elseJavascript are added in 2.4).-Darius
On Mon, Nov 17, 2014 at 9:42 PM, Craig A. <> wrote:
Hi Darius,Thanks for your help. I'm getting 404 errors on angular.js libraries that reference UICommons:This happens in the vitals form as well.I visited the maven repo, but I have no idea how to turn the 1.2 snapshot folders into a .omod file. Are there instructions somewhere that I can follow? I'm a complete novice at development.Thank you!Craig
On Tue, Nov 18, 2014 at 12:29 AM, Darius Jazayeri <> wrote:
Hi Craig,By the way, I have recently tried to document some of the Simple Form UI functionality here, and just added a section about having it work with HTML Form Entry.At a glance your code seems correct to me. Can you open the JavaScript console and see if there are any error messages being reported there when you try this? We are using exactly this functionality on a PIH form here (please don't judge the hackiness elsewhere in the form): https://github.com/PIH/openmrs-module-mirebalais/blob/master/omod/src/main/webapp/resources/htmlforms/deathCertificate.xml#L500Actually, come to think of it, I'm not sure if the last released version of the htmlformentryui module actually has those functions available. You might need to try getting the latest snapshot from our maven repo.-Darius
Post: implem...@openmrs.org | Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
To unsubscribe from this group and stop receiving emails from it, send an email to implementers+unsubscribe@openmrs.org.
Post: implem...@openmrs.org | Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
Post: implem...@openmrs.org | Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
To unsubscribe from this group and stop receiving emails from it, send an email to implementers+unsubscribe@openmrs.org.
Post: implem...@openmrs.org | Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
Hi Craig,You can ignore the 404 errors on *.min.js.map.I couldn't find any documentation on how to get the latest snapshot build of a module, so I wrote it up here: https://wiki.openmrs.org/questions/79659906/how-do-i-install-the-latest-snapshot-version-of-a-module.However I peeked at the history of the htmlformentryui module, and I don't think this is the issue.I'm afraid you might have to do something like inspect elements in the browser to see if anything (e.g. a CSS class) is actually changing on the should-be-hidden element when you change the other one. Or use the JavaScript debugger...Also, make sure you're using the latest release of the HTML Form Entry module (the docs say that thenJavascript/elseJavascript are added in 2.4).-Darius
On Mon, Nov 17, 2014 at 9:42 PM, Craig A. <> wrote:
Hi Darius,Thanks for your help. I'm getting 404 errors on angular.js libraries that reference UICommons:This happens in the vitals form as well.I visited the maven repo, but I have no idea how to turn the 1.2 snapshot folders into a .omod file. Are there instructions somewhere that I can follow? I'm a complete novice at development.Thank you!Craig
On Tue, Nov 18, 2014 at 12:29 AM, Darius Jazayeri <> wrote:
Hi Craig,By the way, I have recently tried to document some of the Simple Form UI functionality here, and just added a section about having it work with HTML Form Entry.At a glance your code seems correct to me. Can you open the JavaScript console and see if there are any error messages being reported there when you try this? We are using exactly this functionality on a PIH form here (please don't judge the hackiness elsewhere in the form): https://github.com/PIH/openmrs-module-mirebalais/blob/master/omod/src/main/webapp/resources/htmlforms/deathCertificate.xml#L500Actually, come to think of it, I'm not sure if the last released version of the htmlformentryui module actually has those functions available. You might need to try getting the latest snapshot from our maven repo.-Darius
Hi Craig,
Hi Darius,
To unsubscribe from this group and stop receiving emails from it, send an email to implementers...@openmrs.org.
Post: implem...@openmrs.org | Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
--
OpenMRS Implementers: http://om.rs/implist
Post: implem...@openmrs.org | Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at http://om.rs/id
Register today for our Maputo 2015 Implementers Meeting: http://om.rs/moz15
To unsubscribe from this group and stop receiving emails from it, send an email to implementers...@openmrs.org.