ChangelogVersion 4.9
Mixed orders mark only shared loose-validation fields as optional
Mixed orders mark only shared loose-validation fields as optional
With loose validation, an order that mixes Marketplace and Job Post
(My-Contract) products marked a field optional when either
settings.campaigns.loose_validation.marketplace.fields or job_post.fields
listed it. HAPI accepts an empty value in a mixed order only when both lists
include the field, so it returned "This value should not be blank" for a field
the order journey showed as optional.
What changed
- Mixed orders: a field is optional only when both lists include it. The
others show the required asterisk (
*) and are validated as required in the order journey. - Marketplace-only and Job Post-only orders: unchanged. Each still uses its own list.