CMS MADE SIMPLE FORGE

Form Builder

 

[#12736] regex validation conflicts with required field

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Fri Jun 28 18:14:00 -0400 2024

Assigned To:
Version: 1.2
CMSMS Version: 2.2.21
Severity: None
Resolution: None
State: Open
Summary:
regex validation conflicts with required field
Detailed Description:
If a field has a 'match regular expression' validation, and that field is also
required, it always gets returned as invalid.
Use case: field with preset value must stay as preset value. Required parameter
makes sure it's not empty, and regex makes sure the value hasn't changed.


History