As the title suggests, I want to embed a clickable URL into a program stage so that users of the Capture app can access an external resource. Adding an URL to the program’s section description makes the URL visible but not clickable.
Thanks for the advice. I tried it now and the solutions works well on the web platform, but not on the capture app. From my understanding, custom forms do not render on the capture app.
On the web platform, the custom form displays as a clickable link, but on the capture app it reverts to a different page layout where the clickable link does not even appear.
Am I missing something or is there an alternative approach I can try?
If you tell me what the external resource is for (e.g. PDF guideline, website, video, Google Form, DHIS2 dashboard, another app/web application),
I can suggest the most practical Capture-compatible workaround for DHIS2 2.43, including whether a data element, program rule, tracker note, or another metadata mechanism can make it genuinely clickable.
1.Create a data element, e.g. Google Form – Patient Feedback.
2.Set its Value type to URL.
3.Put that data element in a section of your Program Stage.
4.Give it a user-friendly Form name, such as:
Open the patient feedback form
5.Enter the Google Form URL as the value.
6.Sync the Capture app and test it.
That does not quite solve the problem as the user would have to have the URL copied to enter it into the field. If the user already has the link, they could just open it directly from outside the Capture app.
It looks like the link will have to be saved outside the app and accessed from there as having it clickable via the app does not seem possible.
Thanks for all the advice. I managed to find a solution that works in the android app.
I created a data element (URL value type) and set up a program rule action to assign a value of static text (the URL). Because the data element is set to URL type, it has an icon on the side of the DE that can be clicked to open to the URL.