Disable direct writing for data element type is coordination

Could u please help me how to disable direct writing for data element type is coordination, and enforce to use the circle icon which is close to filed coordination.

Best


cc: @Gassim

I want to. As the coordinate x, y is enable and the use can write inside them. I want to prevent the user to write the coordinate x, y values and enforce him to use the circle button close to field.

1 Like

Kindly explain further using screenshots so it’s easier to understand for me please? Also, have you tried using program rules to control this data element.

Thanks!

@Gassim thanks for your cooperation and interested.
I want to freeze the two coordinate fields to prevent the user from editing them. This constraint will ensure that the user cannot modify the coordinates directly. Instead, I would like to force the user to click on the button located next to the coordinate fields in order to determine the geographical location.

2 Likes

This would be a valuable piece for us as well, but I don’t believe its supported as yet.
@sami.oracle10g see if this works as a start—add in more context though if you want!

https://dhis2.atlassian.net/browse/DHIS2-15786

2 Likes

Thanks for creating the feature request! :slight_smile:

@sami.oracle10g from your screenshot it appears that you are specifically using the android DHIS2 Capture app so would you like to create a similar feature request as @Matthew_Boddie but select the project (Android App for DHIS2)?

Thanks!

Done. [ANDROAPP-5493] - Jira

2 Likes

Thank you both for the feature requests! (:

1 Like