Closed glaubersilva closed 1 year ago
This issue has been linked to a Canny post: Form Field Manager checkboxes and radio fields with conditional visibility based on another field block the form from submitting :tada:
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days. Note, if this Issue is reporting a bug, please reach out to our support at https://givewp.com/support. If this is a feature request, please see our feedback board at feedback.givewp.com — that’s the best place to make feature requests, unless you’re providing a PR.
User Story
Currently, Form Field Manager checkboxes and radio fields with conditional visibility based on another field block the form from submitting.
Details
The workaround is to have a radio or checkbox field with at least two options. The error in the PHP logs is
PHP Fatal error: Uncaught InvalidArgumentException: Field check1 not found in test values. in /some-site/app/public/wp-content/plugins/give/vendor/vendor-prefixed/stellarwp/field-conditions/src/FieldCondition.php:85
Expected Behavior
Is expected that the submission gets finished even if the checkbox or radio option has only one option.
Steps to Reproduce
Acceptance Criteria