Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rule for country-field #89

Open
neufeind opened this issue Jan 5, 2024 · 0 comments
Open

Support rule for country-field #89

neufeind opened this issue Jan 5, 2024 · 0 comments
Milestone

Comments

@neufeind
Copy link

neufeind commented Jan 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants