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

Verify New Identity sets "Email Feedback Forwarding" enabled when unchecked #7

Open
mattwire opened this issue Nov 11, 2019 · 2 comments

Comments

@mattwire
Copy link
Contributor

Email Feedback Forwarding is always set to enabled when a new identity is created via CiviCRM

@mecachisenros
Copy link
Owner

@mattwire I've added a workaround for this via e454d3a

I'm slightly confused by the behaviour though, none of the checkbox fields save if unchecked.

$form->exportValues() ignores all unchecked boxes, meaning the fields are not present in the submitted data, I would have expected a falsy value there, this happens on core forms as well, as an example try editing a Message template, at the very bottom, uncheck the Enabled? setting, it doesn't disable the template.

Thoughts?

@mattwire
Copy link
Contributor Author

@mecachisenros I think setting the html type to advcheckbox should make that work

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

No branches or pull requests

2 participants