spacing of form fields or making labels be next to inputs

Is there an easy way to make the form field labels appear next to (insteaad of on top of) the inputs? Also, I'd like to reduce the spacing between the fields. I don't have much real estate and I need to squeeze a lot more into this form. I've tried extraAttributes but haven't been able to acheive what I'm after.
No description
Solution:
use ->inlineLabel()
Jump to solution
3 Replies
Solution
MohamedSabil83
MohamedSabil833mo ago
use ->inlineLabel()
Jon Mason
Jon Mason3mo ago
thank you so much, I tried probably everything except that. lol
MohamedSabil83
MohamedSabil833mo ago
You're welcome