@Lesum Hello! thank you, I had the same issue. I used the code you answered in a different question for removing the space between form fields, but then my checkboxes were removed. (I want to use my checkbox as a requirement to submit a form, as a way for the customer to acknowledge my refund policy). Everything was ok, but when I toggle on the "required" option it adds an extra blank space between this check box and the rest of the form fields.
I also have a code to make the "required" word invisible, so it probably may be related to that?
Thank you!