But, the last and first name are showing up vertically:
from my research, it seems the autoform is putting a div around each field…
I think this is the relevant code from the autoform library:
Does anyone know if I can get more control over the layout? I really need to be able to lay out many of my fields horizontally… I have too many fields to put them all vertical
Thanks @ajaxsoap! that is just what I needed… not sure about the bodyclass container-fluid row, as it works without that as well, but indeed, this is what I need to do!
Bit late with the answer, but still - there no magic here if you add the ’ formgroup-class’ attribute to the quickfield it will add that class to the generated HTML
afQuickField will normally render just
- more stuff -
afQuickField formgroup-class=“myClass” will render