Discussions

Expand all | Collapse all

Align fields on form

  • 1.  Align fields on form

    Posted 11-30-2018 19:40
    This seems like it should be a default function in a system like this but I am not finding any way to force fields to line up on a form. There should be some kind of default left align feature that will clear any blank space between the left margin and the fields. 

    Does anyone know a way to do this? Currently QB forms look sloppy no matter what because nearly every field is offset from one another. 


  • 2.  RE: Align fields on form

    Posted 11-30-2018 19:52
    Can you post a screen shot on an example?


  • 3.  RE: Align fields on form

    Posted 11-30-2018 20:03
    I am just curious if I can align by the field name position instead of the actual field that QB auto aligns within each section. I can post a screenshot but I don't know if that will help explain my question. Better question, can I just custom align every field?


  • 4.  RE: Align fields on form

    Posted 11-30-2018 20:17
    It works how it works so that answer will probably be no, but I'm still curious as to what you think is a problem, and that requires a screen shot to explain.


  • 5.  RE: Align fields on form

    Posted 11-30-2018 20:24



  • 6.  RE: Align fields on form

    Posted 11-30-2018 20:25
    There is not an option to align by field name, only field position.


  • 7.  RE: Align fields on form

    Posted 11-30-2018 20:27
    .. although if you re-orient your layout so the field names are above thee fields, then they will align.  Typically, you will then make the form wider and have say 4 or so fields across the page.,


  • 8.  RE: Align fields on form

    Posted 11-30-2018 20:32
    That's a good point, I might try it out and see how it looks. 


  • 9.  RE: Align fields on form

    Posted 11-30-2018 21:33
    Use the IOL technique with this code:
    $("table.LabelsLeft td.label, table.LabelsLeft label").css("text-align", "left");  

    Before:



    After:




  • 10.  RE: Align fields on form

    Posted 11-30-2018 21:42
    How do I use the IOL technique with QB?? Sorry, I'm not familiar with all the functionality available. 


  • 11.  RE: Align fields on form

    Posted 11-30-2018 21:50
    Search for "iol technique"

    As an alternative just put this rich text formula field at the bottom of your form:
    "<img src onerror='$(\"table.LabelsLeft td.label,table.LabelsLeft label\").css(\"text-align\",\"left\");'>"


  • 12.  RE: Align fields on form

    Posted 11-30-2018 22:03
    You rock for this, thanks!


  • 13.  RE: Align fields on form

    Posted 11-30-2018 22:48
    New Meme: