# \#html-form-entry

**URL:** https://talk.openmrs.org/tag/html-form-entry/271.md

[Latest](https://talk.openmrs.org/latest.md) · [Categories](https://talk.openmrs.org/categories.md) · [Tags](https://talk.openmrs.org/tags.md)

---

## [How to lock a field in an HFE Registration form?](https://talk.openmrs.org/t/how-to-lock-a-field-in-an-hfe-registration-form/44930)

<div class="topic-metadata">

**Author:** [@grace](https://talk.openmrs.org/u/grace)\
**Replies:** 3\
**Last updated:** [February 14, 2025, 7:20pm UTC](https://talk.openmrs.org/t/how-to-lock-a-field-in-an-hfe-registration-form/44930 "2025-02-14T19:20:04Z")

</div>

Hey O2 Form Expert friends @ball @mogoodrich - our friends at @ICRC are looking for a way to lock a field on a registration form so users can’t edit it: E.g. in this case, the Odoo ID field is populated automatically, an…

---

## [Coded concept with values from Location](https://talk.openmrs.org/t/coded-concept-with-values-from-location/24927)

<div class="topic-metadata">

**Author:** [@ganguyo](https://talk.openmrs.org/u/ganguyo)\
**Replies:** 25\
**Last updated:** [October 18, 2024, 7:48am UTC](https://talk.openmrs.org/t/coded-concept-with-values-from-location/24927 "2024-10-18T07:48:11Z")

</div>

Hi all, I am creating a coded concept whose values should be facility Locations, Is there a way my concept can pick its dropdown options from Location data?

---

## [Problems with setValue() jQuery method in HTML Form Entry](https://talk.openmrs.org/t/problems-with-setvalue-jquery-method-in-html-form-entry/2646)

<div class="topic-metadata">

**Author:** [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Replies:** 9\
**Last updated:** [February 13, 2024, 6:14am UTC](https://talk.openmrs.org/t/problems-with-setvalue-jquery-method-in-html-form-entry/2646 "2024-02-13T06:14:28Z")

</div>

Hi everyone, I would like to set the value of an obs from my Javascript. That observation is of \<obs … style=“autocomplete”\> style. To do so, I use the method provided by HtmlFormEntry module: setValue() Here is the s…

---

## [HTML Form Entry - show only Time without date also hiding Seconds](https://talk.openmrs.org/t/html-form-entry-show-only-time-without-date-also-hiding-seconds/40816)

<div class="topic-metadata">

**Author:** [@jonathan](https://talk.openmrs.org/u/jonathan)\
**Replies:** 4\
**Last updated:** [December 3, 2023, 12:15pm UTC](https://talk.openmrs.org/t/html-form-entry-show-only-time-without-date-also-hiding-seconds/40816 "2023-12-03T12:15:38Z")

</div>

Hi team, Is there a way to show only time in html form entry ? Looked into this and saw that there is a way to hide seconds …however want also to hide the date …section here is my obs tag \<obs id="time" conceptI…

---

## [Way to Delete a concept in use by other objects.](https://talk.openmrs.org/t/way-to-delete-a-concept-in-use-by-other-objects/40306)

<div class="topic-metadata">

**Author:** [@jonathan](https://talk.openmrs.org/u/jonathan)\
**Replies:** 7\
**Last updated:** [September 1, 2023, 12:51pm UTC](https://talk.openmrs.org/t/way-to-delete-a-concept-in-use-by-other-objects/40306 "2023-09-01T12:51:41Z")

</div>

Hey team, I have a concept its updated in OCL to datatype Coded however its not updating on fetching So have tried to delete it manually and then re-fetch however am facing this challenge Cannot delete concept. Databa…

---

## [Global property to disable the validation of concept values](https://talk.openmrs.org/t/global-property-to-disable-the-validation-of-concept-values/40171)

<div class="topic-metadata">

**Author:** [@nischith](https://talk.openmrs.org/u/nischith)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 11:13pm UTC](https://talk.openmrs.org/t/global-property-to-disable-the-validation-of-concept-values/40171 "2023-08-08T23:13:26Z")

</div>

This query is in the context of OpenMRS HTML forms on 2.12 RefApp/ core 2.5.8. A form submission fails if the value of a Numeric concept is outside a specific range (which is part of the concept definition). Setting t…

---

## [call javascript variable within velocityTest expression inside includeif](https://talk.openmrs.org/t/call-javascript-variable-within-velocitytest-expression-inside-includeif/39812)

<div class="topic-metadata">

**Author:** [@smarthech](https://talk.openmrs.org/u/smarthech)\
**Replies:** 0\
**Last updated:** [June 5, 2023, 12:05am UTC](https://talk.openmrs.org/t/call-javascript-variable-within-velocitytest-expression-inside-includeif/39812 "2023-06-05T00:05:45Z")

</div>

Hello everyone, i am working on a project that requires redirecting to another page after saving once the patient’s age is greater than 40 and HIV test is reactive. my challenge is how to use getValue(‘testresult.value’…

---

## [Possible solution for HTML Forms with many obs tags being slow](https://talk.openmrs.org/t/possible-solution-for-html-forms-with-many-obs-tags-being-slow/38581)

<div class="topic-metadata">

**Author:** [@pwargulak](https://talk.openmrs.org/u/pwargulak)\
**Replies:** 5\
**Last updated:** [February 27, 2023, 3:49pm UTC](https://talk.openmrs.org/t/possible-solution-for-html-forms-with-many-obs-tags-being-slow/38581 "2023-02-27T15:49:52Z")

</div>

Hello Community, during the work on Connect for Life OpenMRS distribution we encountered some performance issues with OMRS HTML Forms, and we’ve found some improvements in the core OpenMRS code which I would like to sha…

---

## [\<encounterDate\> of HTML Form Entry doesn't allow retrospective entry](https://talk.openmrs.org/t/encounterdate-of-html-form-entry-doesnt-allow-retrospective-entry/38388)

<div class="topic-metadata">

**Author:** [@nischith](https://talk.openmrs.org/u/nischith)\
**Replies:** 2\
**Last updated:** [January 24, 2023, 5:02pm UTC](https://talk.openmrs.org/t/encounterdate-of-html-form-entry-doesnt-allow-retrospective-entry/38388 "2023-01-24T17:02:00Z")

</div>

The ‘encounterDate’ tag of the HTML Form Entry module doesn’t allow older dates to be entered. This necessity arises when data is captured offline and needs to be entered into the electronic system on a much later date.…

---

## [HFE: EncounterProviderAndRole tag filtering by UserRoles](https://talk.openmrs.org/t/hfe-encounterproviderandrole-tag-filtering-by-userroles/27910)

<div class="topic-metadata">

**Author:** [@mddubey](https://talk.openmrs.org/u/mddubey)\
**Replies:** 25\
**Last updated:** [November 22, 2022, 2:59pm UTC](https://talk.openmrs.org/t/hfe-encounterproviderandrole-tag-filtering-by-userroles/27910 "2022-11-22T14:59:34Z")

</div>

Hello people, In our project, we need to capture multiple EncounterProviders for one of the forms. While going through the references for HTMLFormEntry, we got to know we should use the encounterProviderAndRoleTag which…

---

## [\<encounterDate\> of HTML Form shows incorrect time](https://talk.openmrs.org/t/encounterdate-of-html-form-shows-incorrect-time/37788)

<div class="topic-metadata">

**Author:** [@nischith](https://talk.openmrs.org/u/nischith)\
**Replies:** 6\
**Last updated:** [October 31, 2022, 2:02pm UTC](https://talk.openmrs.org/t/encounterdate-of-html-form-shows-incorrect-time/37788 "2022-10-31T14:02:57Z")

</div>

The system config is OpenMRS core 2.6.0/ Refapp 2.13.0-SNAPSHOT / Ubuntu 22.04.1 LTS A form has been created using the HTML Form Entry module (v5.1.0-SNAPSHOT). One of the tags used in the form is: \<encounterDate showT…

---

## [How to auto-generate patient IDs with HTML forms?](https://talk.openmrs.org/t/how-to-auto-generate-patient-ids-with-html-forms/3451)

<div class="topic-metadata">

**Author:** [@barnaby85](https://talk.openmrs.org/u/barnaby85)\
**Replies:** 4\
**Last updated:** [June 15, 2022, 9:56am UTC](https://talk.openmrs.org/t/how-to-auto-generate-patient-ids-with-html-forms/3451 "2022-06-15T09:56:17Z")

</div>

Please how can i auto generate a patient ID using an HTML form to create patient in OpenMRS

---

## [O3: Adding an HFE Form to the 3.x RefApp Demo](https://talk.openmrs.org/t/o3-adding-an-hfe-form-to-the-3-x-refapp-demo/36308)

<div class="topic-metadata">

**Author:** [@grace](https://talk.openmrs.org/u/grace)\
**Replies:** 3\
**Last updated:** [March 31, 2022, 8:21am UTC](https://talk.openmrs.org/t/o3-adding-an-hfe-form-to-the-3-x-refapp-demo/36308 "2022-03-31T08:21:44Z")

</div>

Thanks to the work by @icrc.psousa (described here), we now have a workaround way of showing HFE forms in the 3.x RefApp :raised\_hands: I want to implement this in our 3.x Demo. Does any org rep here have an HFE form t…

---

## [O3: Support for HTML Form Entry in 3.x](https://talk.openmrs.org/t/o3-support-for-html-form-entry-in-3-x/35797)

<div class="topic-metadata">

**Author:** [@grace](https://talk.openmrs.org/u/grace)\
**Replies:** 8\
**Last updated:** [March 25, 2022, 4:16pm UTC](https://talk.openmrs.org/t/o3-support-for-html-form-entry-in-3-x/35797 "2022-03-25T16:16:16Z")

</div>

We want to update the community that Mekom & ICRC are working together to address the first piece of HTML Form Entry support in 3.x. Let’s use this thread to confirm/discuss who is doing what. Part 1: MVP workflow to o…

---

## [Moving to new major version of HFE](https://talk.openmrs.org/t/moving-to-new-major-version-of-hfe/36171)

<div class="topic-metadata">

**Author:** [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Replies:** 2\
**Last updated:** [March 21, 2022, 4:32pm UTC](https://talk.openmrs.org/t/moving-to-new-major-version-of-hfe/36171 "2022-03-21T16:32:25Z")

</div>

If there are no objections, I’d like to update HFE to 5.0.0, which will support platform 2.3.2 and up as it’s base version. The reason for doing this is to make it easier to implement the formFieldAndNamespace attribute …

---

## [Changing one of the checkboxes in the Diagnosis widget](https://talk.openmrs.org/t/changing-one-of-the-checkboxes-in-the-diagnosis-widget/24838)

<div class="topic-metadata">

**Author:** [@bistenes](https://talk.openmrs.org/u/bistenes)\
**Replies:** 14\
**Last updated:** [January 25, 2022, 1:08am UTC](https://talk.openmrs.org/t/changing-one-of-the-checkboxes-in-the-diagnosis-widget/24838 "2022-01-25T01:08:31Z")

</div>

At the PIH primary care clinics in Mexico, they need to save an additional piece of data with each diagnosis – whether the MoH would consider it a “first time” diagnosis or not, based on the criteria the doctors know. At…

---

## [HTML Form Entry History](https://talk.openmrs.org/t/html-form-entry-history/7549)

<div class="topic-metadata">

**Author:** [@k.joseph](https://talk.openmrs.org/u/k.joseph)\
**Replies:** 12\
**Last updated:** [January 18, 2022, 5:19pm UTC](https://talk.openmrs.org/t/html-form-entry-history/7549 "2022-01-18T17:19:43Z")

</div>

Most implementations are extensively using the Html Form entry module for their data entry into OpenMRS, there doesn't seem to be a historical based way to retrieve when the form was last used to do data entry and re-pop…

---

## [Need to Release HTML Form Entry 4.2.1](https://talk.openmrs.org/t/need-to-release-html-form-entry-4-2-1/35358)

<div class="topic-metadata">

**Author:** [@ssmusoke](https://talk.openmrs.org/u/ssmusoke)\
**Replies:** 3\
**Last updated:** [December 14, 2021, 9:03am UTC](https://talk.openmrs.org/t/need-to-release-html-form-entry-4-2-1/35358 "2021-12-14T09:03:22Z")

</div>

We need this to be able to release UgandaEMR - which leverages the new velocity date addition and subtraction functions from https://issues.openmrs.org/browse/HTML-797

---

## [openmrs-module-htmlformentryui 2.1.0](https://talk.openmrs.org/t/openmrs-module-htmlformentryui-2-1-0/35041)

<div class="topic-metadata">

**Author:** [@icrc.thonorio](https://talk.openmrs.org/u/icrc.thonorio)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 8:12am UTC](https://talk.openmrs.org/t/openmrs-module-htmlformentryui-2-1-0/35041 "2021-11-09T08:12:56Z")

</div>

Hello, I would like to propose if possible the release of openmrs-module-htmlformentryui version 2.1.0. One of the issues solved by this version is adding time zone compatibility for Firefox Let me me know your thoug…

---

## [HFE: Conditions should have a pointer for the form\_field it was created through](https://talk.openmrs.org/t/hfe-conditions-should-have-a-pointer-for-the-form-field-it-was-created-through/29110)

<div class="topic-metadata">

**Author:** [@samuel34](https://talk.openmrs.org/u/samuel34)\
**Replies:** 73\
**Last updated:** [September 28, 2021, 6:57am UTC](https://talk.openmrs.org/t/hfe-conditions-should-have-a-pointer-for-the-form-field-it-was-created-through/29110 "2021-09-28T06:57:19Z")

</div>

Hi all, HFE has an inherent limitation explained as follows below:- After submitting data with a form, when opening that form again in “view or edit mode”, there is no existing smart mechanism for matching a question o…

---

## [HFE: \<markPatientDead/\> always marks the patient as deceased?](https://talk.openmrs.org/t/hfe-markpatientdead-always-marks-the-patient-as-deceased/34711)

<div class="topic-metadata">

**Author:** [@icrc.thonorio](https://talk.openmrs.org/u/icrc.thonorio)\
**Replies:** 3\
**Last updated:** [September 23, 2021, 1:19pm UTC](https://talk.openmrs.org/t/hfe-markpatientdead-always-marks-the-patient-as-deceased/34711 "2021-09-23T13:19:48Z")

</div>

Hi I took a look into the tag \<markPatientDead\>, to find if it was possible to make the submission “OPTIONAL”. - Tag as Optional For context, I´m currently working on a “Discharge” form, where it should be possible to …

---

## [HFE: Better handling of timezones](https://talk.openmrs.org/t/hfe-better-handling-of-timezones/31659)

<div class="topic-metadata">

**Author:** [@mksd](https://talk.openmrs.org/u/mksd)\
**Replies:** 42\
**Last updated:** [September 22, 2021, 8:11am UTC](https://talk.openmrs.org/t/hfe-better-handling-of-timezones/31659 "2021-09-22T08:11:22Z")

</div>

Hey @mseaton and @mogoodrich, So we have been running into issues with timezones and HFE. Actually we have been running into issues with timezones and the Ref App in general, but for the sake of concision I’ll focus on…

---

## [How to i make obs with default value hidden?](https://talk.openmrs.org/t/how-to-i-make-obs-with-default-value-hidden/34667)

<div class="topic-metadata">

**Author:** [@smarthech](https://talk.openmrs.org/u/smarthech)\
**Replies:** 2\
**Last updated:** [September 15, 2021, 9:16pm UTC](https://talk.openmrs.org/t/how-to-i-make-obs-with-default-value-hidden/34667 "2021-09-15T21:16:51Z")

</div>

Hello friends, please How do i make obs with default value hidden input type? i want something like this , please help a brother. thanks

---

## [Pass a default value in obs tag](https://talk.openmrs.org/t/pass-a-default-value-in-obs-tag/34655)

<div class="topic-metadata">

**Author:** [@smarthech](https://talk.openmrs.org/u/smarthech)\
**Replies:** 2\
**Last updated:** [September 15, 2021, 9:43am UTC](https://talk.openmrs.org/t/pass-a-default-value-in-obs-tag/34655 "2021-09-15T09:43:50Z")

</div>

Please does anyone know how to put a default value in obs tag? i want to create a select option in openmrs, then pass list of conceptIds and make one of the conceptIds a default selection in that tag.

---

## [HTML Forms RefApp inputs can't span on the same line with their labels/units](https://talk.openmrs.org/t/html-forms-refapp-inputs-cant-span-on-the-same-line-with-their-labels-units/7879)

<div class="topic-metadata">

**Author:** [@k.joseph](https://talk.openmrs.org/u/k.joseph)\
**Replies:** 13\
**Last updated:** [September 12, 2021, 10:07am UTC](https://talk.openmrs.org/t/html-forms-refapp-inputs-cant-span-on-the-same-line-with-their-labels-units/7879 "2021-09-12T10:07:56Z")

</div>

Whereas the HTML forms display well in our developer lovely interface, they don’t seem to display more better through the GitHub - openmrs/openmrs-module-htmlformentryui: Integration between the HTML Form Entry and UI Fr…

---

## [HTML Form Entry AutoComplete from CSV List](https://talk.openmrs.org/t/html-form-entry-autocomplete-from-csv-list/34518)

<div class="topic-metadata">

**Author:** [@ssmusoke](https://talk.openmrs.org/u/ssmusoke)\
**Replies:** 0\
**Last updated:** [August 30, 2021, 2:53am UTC](https://talk.openmrs.org/t/html-form-entry-autocomplete-from-csv-list/34518 "2021-08-30T02:53:44Z")

</div>

We are building a form which requires a user to select a health facility (one out of 1,500) via an auto-complete search from data stored in a CSV file (no need to have a database table for it) and save the value in a Tex…

---

## [Release of HTML Form Entry 4.0.2](https://talk.openmrs.org/t/release-of-html-form-entry-4-0-2/34341)

<div class="topic-metadata">

**Author:** [@ssmusoke](https://talk.openmrs.org/u/ssmusoke)\
**Replies:** 5\
**Last updated:** [August 10, 2021, 12:58pm UTC](https://talk.openmrs.org/t/release-of-html-form-entry-4-0-2/34341 "2021-08-10T12:58:23Z")

</div>

I would like release HTML Form Entry 4.0.2 to get the new velocity features for an upcoming UgandaEMR release

---

## [\[MERGED\] Review Request - HTML-776 - Adding a date filter to HTML Form Entry Velocity Functions](https://talk.openmrs.org/t/merged-review-request-html-776-adding-a-date-filter-to-html-form-entry-velocity-functions/33940)

<div class="topic-metadata">

**Author:** [@ssmusoke](https://talk.openmrs.org/u/ssmusoke)\
**Replies:** 3\
**Last updated:** [July 7, 2021, 6:43pm UTC](https://talk.openmrs.org/t/merged-review-request-html-776-adding-a-date-filter-to-html-form-entry-velocity-functions/33940 "2021-07-07T18:43:20Z")

</div>

I would like a review on this PR HTML-776 Add an optional date attribute to latestObs, earliestObs, latestEncounter and currentProgramWorkflowStatus to limit the date search for each of the expressions by ssmusoke · Pull…

---

## [HTML Form Entry - Velocity Functions - Passing the current encounter date or visit date](https://talk.openmrs.org/t/html-form-entry-velocity-functions-passing-the-current-encounter-date-or-visit-date/33804)

<div class="topic-metadata">

**Author:** [@ssmusoke](https://talk.openmrs.org/u/ssmusoke)\
**Replies:** 11\
**Last updated:** [June 22, 2021, 6:54am UTC](https://talk.openmrs.org/t/html-form-entry-velocity-functions-passing-the-current-encounter-date-or-visit-date/33804 "2021-06-22T06:54:57Z")

</div>

I am currently working on https://issues.openmrs.org/browse/HTML-776 which allows the following velocity functions latestObs() as latestObs(Date) latestEncounter() as latestEncounter(Date) latestEncounter(EncounterType…

---

## [UgandaEMR Form Design Review](https://talk.openmrs.org/t/ugandaemr-form-design-review/33769)

<div class="topic-metadata">

**Author:** [@ssmusoke](https://talk.openmrs.org/u/ssmusoke)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 8:14pm UTC](https://talk.openmrs.org/t/ugandaemr-form-design-review/33769 "2021-06-16T20:14:56Z")

</div>

This is a video of a review of UgandaEMR form which is consistent with the design approaches for OpenMRS 3.x based micro-frontends but which can be used to improve the overall flow of existing implementations Do leave y…

[Next page](https://talk.openmrs.org/tag/html-form-entry/271.md?match_all_tags=true&page=1&tags%5B%5D=html-form-entry)
