Announcement

Collapse
No announcement yet.

DynamicLogic for Address field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DynamicLogic for Address field

    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.

    Code:
     {
        "dynamicLogic": {
          "fields": {
            "billingAddressPostalCode": {
              "required": {
                "conditionGroup": [
                  {
                    "type": "equals",
                    "attribute": "kundenart",
                    "value": "Privatperson"
                  }
                ]
              }
            }
          }
        }
      }
    Is this caused by some relationship to the "billingAddress" address field?

    Best wishes and thanks in advance
    Simon
    Last edited by simond; 07-08-2019, 09:08 AM. Reason: dynamicLogic address fields account
Working...
X