Forms: Disable Field Spacing on Hidden Fields, Add CSS class for field type
K
Kyle Bahr
If hidden fields are added to a form, the Field Spacing on the form is applied to all hidden fields.
If the default field spacing is 20px, and you add 10 hidden fields at the bottom of the form, you will end up with a 200px blank area within the form.
<div id="el_xxxxxxxxx_my_hidden_field" style="margin-bottom:20px;" class="col-12 menu-field-wrap form-field-wrapper">...</div>
Change Request:
✅ Hidden fields should not have any field spacing applied.
✅ Fields should be given a general CSS class based on the field type.
(e.g. field_text, field_hidden, field_textarea, etc)
✅ Fields should support advanced settings to define a custom CSS class.
This would allow better support for custom styling via CSS.
Log In