(note: the date and time are being updated to your local timezone)
With the launch of the new Data Entry app, support for custom logic and JavaScript in custom forms was removed to improve security and performance. For implementations that depend on custom forms using these features, this change introduced significant challenges. To address this, we’ve introduced a new plugin that restores JavaScript support inside the new Data Entry app.
This plugin allows custom forms to work correctly while adding improved functionality and tighter integration, delivering both security and user interface improvements.
This Feature Spotlight will take a look at the new plugin, how to install it and what it means for your custom JavaScript forms.
@DavidCKen, I know I am late to the party but thank you for sharing this. This is such a game chnager for many of us who are using custom forms.
Kudos to you and the DHIS2 team behind this update
This was a very interesting session. I especially appreciated the openness around the security considerations and configuration challenges related to the Android app.
From an implementation perspective, one of the reasons we previously opted for a custom application was the need for greater flexibility in form design and workflow customization. However, with the continued improvements to section forms and data entry capabilities in core DHIS2, there may now be fewer scenarios where a fully custom form solution is necessary.
These kinds of enhancements are encouraging because they can help reduce maintenance overhead while still meeting many practical field requirements.
Thank you for the screenshot and the info; however, I believe that for Mozafar and any developer to be able to diagnose this issue further, more debug info is needed:
Could you provide the logs from the DevTools? Test first in your browser’s Guest mode to make sure it’s not a cache issue:
Check if any errors appear in the Network or Console during the reproduction
Copy the error logs
Screenshots: screenshots of the entire window helps in understanding the issue faster as well as understanding the issue is. (you can blur the domain name and any sensitive info)
@ALI_HASSAN can you make sure you’re on version 102.0.0 or higher of the Data Entry app? You can confirm the version of the data entry app on the profile menu
Hi Ali, it seems to me there is an error with an indicator - this would have been ignored in the older version of Data Entry, but now it tries to parse it and it fails.
Do you know if this form is working in the old Legacy Data Entry app or not? (available in DHIS2 v41 and before)
If the main concern is the look of the form (according to your first message), can you try adding this directive in the form and see how it behaves
If this still doesn’t work, then please get in touch by email (mozafar (at) dhis2.org) and let’s arrange a video call to debug the issue together - it’d be good to share an export of the dataset if possible.