Field validation is triggered for fields which are not required

Created on 23 September 2023, about 1 year ago
Updated 20 October 2023, about 1 year ago

Problem/Motivation

Currently, when you add two RRN_NRN fields to a webform, and make the first one required but the second not. You get a validation error on the second field, even when you didn't fill it in.

Steps to reproduce

See description.

Proposed resolution

The validation check should be skipped when the field is empty AND not required.

Remaining tasks

Create merge request

User interface changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024