Skip to content

Support rule for country-field #89

@neufeind

Description

@neufeind

In HTML the country-field is also just a regular select-field. But internally "country" is a separate field-type.
I originally encountered missing support in powermail_cond 8.x (for TYPO3 v10). But even current releases seem to have a TCA that limits this functionality to certain field-types (Configuration/TCA//tx_powermailcond_domain_model_rule.php).

Could you please check if I'm right that also current releases don't support rules based on "country"? If so, please consider this a feature-request :-)

Workaround/patch for powermail_cond 8.x: It was enough to add "country" to the whitelist in TCA for start_field and to extend the shipped condition-JS to also listen to changes for class "powermail_country", since basically it's also just a regular select-field anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions