← Back to team overview

dhis2-devs team mailing list archive

[Bug 1321084] [NEW] Extension of validation functionality in Tracker, making form fields obligatory depending on whether other form fields are obligatory

 

Public bug reported:

The current validation functionalities are centered around mathematical values. In Tracker (just like at aggregate level), it would be helpful to introduce validation of form fields against another form field. 
In our particular case we are using DHIS2 in Uganda for tracking cases of domestic violence. We check if the case was handled at Margistrate, Police and Local Council level. Depending on where the case was handled, there is a whole long list of form fields to answer (only obligatory with reference to the place where case was handled).

A validation rule, allowing for us to specify that 'form field X' is
compulsory if 'form field Y' has value 'Z' for example; would be very
helpful.

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1321084

Title:
  Extension of validation functionality in Tracker, making form fields
  obligatory depending on whether other form fields are obligatory

Status in DHIS 2:
  New

Bug description:
  The current validation functionalities are centered around mathematical values. In Tracker (just like at aggregate level), it would be helpful to introduce validation of form fields against another form field. 
  In our particular case we are using DHIS2 in Uganda for tracking cases of domestic violence. We check if the case was handled at Margistrate, Police and Local Council level. Depending on where the case was handled, there is a whole long list of form fields to answer (only obligatory with reference to the place where case was handled).

  A validation rule, allowing for us to specify that 'form field X' is
  compulsory if 'form field Y' has value 'Z' for example; would be very
  helpful.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1321084/+subscriptions


Follow ups

References