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

Checkbox value should be 0 if not checked #234

Open
jamminjames opened this issue Jan 12, 2022 · 0 comments
Open

Checkbox value should be 0 if not checked #234

jamminjames opened this issue Jan 12, 2022 · 0 comments

Comments

@jamminjames
Copy link

Describe the bug
The value of a checkbox is 1 if selected, but not recorded at all if not checked, but it should be 0. This is pretty standard for checkboxes, and necessary.

This way, if the checkboxes are included in the user's profile, for example, and they uncheck something because they don't want it anymore (for example, they choose not to be on a mailing list anymore), the value will change in the database. Right now, it does not change.

WordPress Environment

``` Latest WordPress and Paid Memberships Pro versions, PHP 7.4 ```
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

1 participant