Breaks form validation / submission values
Following #241 (closed), we observed form submission errors for required checkbox sets for profiles on event registration pages caused by setBillingFieldsRequiredForJQueryValidate()
due to resetBillingFieldsRequiredForJQueryValidate()
apparently not being called before the form being submitted, which leads to values entered for such checkboxes not submitted and thus server-side validation kicking in. Also, when the form is then rendered again, setBillingFieldsRequiredForJQueryValidate()
does not seem to be called at all. Unfortunately, this makes such forms unusable.
Those two functions seem to adapt the form for client-side validation (changing name
attributes for checkboxes in required checkbox sets). I don't get why the Stripe extension feels responsible for doing that with unrelated fields in the first place. Can someone explain the rationale behind this? I'm currently unable to provide steps for reproducing the error due to a lack of understanding.