Prevent beforeOrEqual field from comparing to empty field

See title. Is this possible without resorting to custom rules?
2 Replies
Dan Harrin
Dan Harrin2y ago
beforeOrEqual(fn ($get) => filled($get('field_name')) ? 'field_name' : null) ?

Did you find this page helpful?