Bug #4356

Infant Feeding CRF validations

Added by Jennifer Jao about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:10/12/2018
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Spent time:-
Target version:-

Description

Please fix so that the following validations occur:

1. If Q23 = YES and Q25 = NO, then Q26 must not be blank
2. If Q23 = YES and Q25 = YES, then Q26 must be a date between the last attended visit and today's date
3. If Q23 = NO and Q24 = YES, then Q26 is not needed and should not be answered. Can we make it so that the study staff cannot enter a date here?

validation 1 workingChange Infant Feeding _ Django site admin.pdf (135 KB) Keolebogile Nicholas Mmasa, 15/11/2018 12:16

validation 2 workingChange Infant Feeding _ Django site admin.pdf (136 KB) Keolebogile Nicholas Mmasa, 15/11/2018 12:16

validation 3 error messagChange Infant Feeding _ Django site admin.pdf (136 KB) Keolebogile Nicholas Mmasa, 15/11/2018 12:22


Subtasks

Bug #4404: INFANT FEEDING FORM GIVING WRONG ERROR MESSAGEClosed

History

#1 Updated by Itumeleng Mosweu about 6 years ago

  • Status changed from New to Resolved

#2 Updated by Keolebogile Nicholas Mmasa about 6 years ago

  • Status changed from Resolved to Feedback

I UAT's these 3 scenarios and they give yellow page.
Is it possible to have an error message as opposed to a yellow page?

#3 Updated by Itumeleng Mosweu about 6 years ago

Yellow page has been attended to. Please UAT again.

#4 Updated by Itumeleng Mosweu about 6 years ago

  • Status changed from Feedback to Resolved

#5 Updated by Keolebogile Nicholas Mmasa about 6 years ago

VALIDATIONS WORKING WELL,
however, small fix: Validation 3, the error message doesn't communicate well " infant is weaned off breastmilk, field not required".
I suggest error message should rather be:" infant was weaned off breastmilk before last attended scheduled visit, field not required".

#6 Updated by Itumeleng Mosweu about 6 years ago

  • Status changed from Feedback to Resolved

#7 Updated by Keolebogile Nicholas Mmasa about 6 years ago

  • Status changed from Resolved to Closed

all validations working,,issue closed

#8 Updated by Keolebogile Nicholas Mmasa about 6 years ago

  • Status changed from Closed to Feedback

validation 2 now broken after UAT of issue 4357,

#9 Updated by Keolebogile Nicholas Mmasa about 6 years ago

  • Status changed from Feedback to Closed

issues tested on 274 and 381.Validations responding well.Issue closed

Also available in: Atom PDF