Event Form, profile in use has 1 required field of type checkbox.
If you check none - validation error- OK, Check All - no validation error.
Check 1 Validation error and stripe highlights all options not check and sweetalert displays a message to complete required fields. Switch to another processor, no issues.
This is a new stripe install, but have not seen on other existing sites.
I can look at testing, not much funding on this project, but I can do it on a copy. Based on what you think 6.5 will just confirm the issue still exists, correct?
I've not tested that yet (there are so many combinations of form presentation..) but in theory that should not be required if CiviCRM is generated the "correct" form elements.
I made a change to use a Price Set checkbox and that allows payments to go through no issues. At least in my quick initial test. So the error was with a checkbox custom field for the partipant in a profile. Not sure it helps, but definitely interesting.
1
mattwirechanged title from Incorrect Form Validation to Incorrect Form Validation for checkboxes on profiles
changed title from Incorrect Form Validation to Incorrect Form Validation for checkboxes on profiles
@mattwire This issue still persist when we include the checkbox fields in "onbehalf of org" profile. Here is my attempt to fix based on the current logic.
patch.txt
However, one problem I have noticed that it shows required only for the first checkbox field if there are multiple checkbox fields in the profile.
Note that it is working fine when we have multiple checkbox fields in the normal profile. Any help is appreciated.