I am a module developer and I am currently working on the HTML Form Entry module. Just making a couple of pages to support the requirements that I have. I am stuck at a point and seeking help.
While Entering the Encounter Location for the form I am unable to display a dynamic list of tags . i.e. If the logged in user is logged in to the “Location A” then he/she should only see the list of locations mapped by the location tag “Location A”.
Here is a snippet of my code
<span> <encounterLocation tags="1,2,3" /> </span>
P.S - I do not want to use hard-coded values “1,2,3” in the xml, rather I would like to have control in the Java code to fetch a dynamic list based upon a few parameters.