I have a filedrop that is configured with a custom field: Case number: text("Reference number"), required, validate("^[1-9][0-9]{5}$", "Must be a number containing 6 digits, beginning with a digit greater than zero.") Any value within the "Case number:" field presented on the file drop is accepted. Should this be performing validation or am I missing some setting?
Yes, the validation is performed when added in the custom text filed and when all is correct. But it can't handle commas "," in the description text, which is this case. When you remove it it will work. Case number: text("Reference number"), required, validate("^[1-9][0-9]{5}$", "Must be a number containing 6 digits beginning with a digit greater than zero.")