I want to, if possible, conditionally change the width of fields.
For example, if I have a number of fields in a row and I cause one to be hidden with conditional logic, I want to be able to do one of two things:
- The remaining field(s) in the row should expand its/their width but retain the size ratio (if they’re not the same width) to fill in the vacant space, or;
- One of the remaining fields (if more than one) should expand its width so as to fill in the vacant space.
Conversely, if a hidden field in a row should be shown with conditional logic, the other three, two or one (fullwidth) should contract its/their width to make space for it in the row.
I would like both the above options to be available depending on the use case.
Does anyone know how to go about doing this?