dsemujju
(David Semujju)
#1
I have developed a new vitals form and set the formDisplayStyle=“Simple”. The form appears with the simpleUi “http://localhost:8080/openmrs/htmlformentryui/htmlform/enterHtmlFormWithSimpleUi.page?patientId=9b71597” however it displays with the default StandardUi “http://localhost:8080/openmrs/htmlformentryui/htmlform/editHtmlFormWithStandardUi.page?patientId=1099&encounterId=4282&” when a users needs to edit the form data.
I need help on how to set the form to load a simpleUi by default when editing form data. I appreciate all your help in advance.
dkayiwa
(Daniel Kayiwa)
#2
Replace editHtmlFormWithStandardUi
with editHtmlFormWithSimpleUi
dsemujju
(David Semujju)
#3
@dkayiwa, how do i set it up in code, so that in changes automatically in the URL.
dkayiwa
(Daniel Kayiwa)
#4
Did it work when you changed the url?
dkayiwa
(Daniel Kayiwa)
#6
Which button or link did you click to edit? Can you share its screenshot?
dsemujju
(David Semujju)
#7
I clicked the edit button in that screen shot @dkayiwa
dkayiwa
(Daniel Kayiwa)
#8
Can you also share a screenshot of how the form looks like after changing the url when editing?
dsemujju
(David Semujju)
#9
I need it to appear like this one below