Capture app giving error in latest version 106.2.3


Dear Team
Dear Team,

After updating the Capture App, an error is appearing on the ID number field and the form is not being completed/submitted successfully. Kindly check and resolve the issue as soon as possible so that data entry work can continue smoothly.

Thank you.

Hi @ALI_HASSAN

Could you please share the metadata configuration for the field in the screenshot? As well as any related program rules.

Thanks!


I have applied these rules and Tracked entity attribute settings. It works perfect on 106.2.2 Capture version.

@ALI_HASSAN Thanks for the detailed report!

I’ve successfully replicated the issue you described when using Capture version 106.2.3. However, if I try the same in Capture version 106.2.2, Rule #2 does not generate an error message even if I enter alphabetic letters in the field - I only get a generic validation error Please provide a valid number (because the CNIC field is of type Number).

If you see the same behavior in your instance, then that means the program rule expression for Rule #2 was never quite working. The solution is then to remove one of the backslashes from the expression:
d2:hasValue('CNIC') && !d2:validatePattern(A{CNIC}, '^\d+$')

Please let me know if you actually do see the error message on 106.2.2 when entering alphabetic letters in the CNIC field.

Thanks for your support. The issue has now been resolved.