Hello,
I am trying to conditionally set the required attribute on the "billingAddressPostalCode" field of the "Account" entity.
Using the entity manager I can set an enum as condition for other fields (for example "website") and it works fine.
For either of the "billingAddress" fields however, the condition does nothing.
Directly using a clientDefs/Account.json file (as seen below) does not yield any changes either.
Is this caused by some relationship to the "billingAddress" address field?
Best wishes and thanks in advance
Simon
I am trying to conditionally set the required attribute on the "billingAddressPostalCode" field of the "Account" entity.
Using the entity manager I can set an enum as condition for other fields (for example "website") and it works fine.
For either of the "billingAddress" fields however, the condition does nothing.
Directly using a clientDefs/Account.json file (as seen below) does not yield any changes either.
Code:
{
"dynamicLogic": {
"fields": {
"billingAddressPostalCode": {
"required": {
"conditionGroup": [
{
"type": "equals",
"attribute": "kundenart",
"value": "Privatperson"
}
]
}
}
}
}
}
Best wishes and thanks in advance
Simon
