HTML Tags to insert line breaks in Header, SubHeader, Questions, etc.

  • stevenco
    Asked on February 19, 2017 at 12:06 AM

    I am trying to insert link breaks in my Header, Subheader and quesiotns to make the info appear better.

    I have tried <br/> and also <br> but they just apprer in the text and not performing a line break.

     

    There were posts about it being a problem in subheaders back in October 2016 with v3 and v4.  Would expect that it wold be resolved by now.

     

    Thanks

     

  • Support_Management Jotform Support
    Replied on February 19, 2017 at 7:44 AM

    Hello, it wasn't an issue per se, but rather a decision made by our Developers. They have limited HTML code insertion on certain parts of the Form Builder (V3 and V4 alike) for security reasons.

    I'm afraid the only way to achieve what you need is to use the Text (HTML) Field. This field was designed to allow you to type/paste texts and format them as you see fit.

    You may either use HTML/CSS or the built-in editor to further customize it:

    HTML Tags to insert line breaks in Header, SubHeader, Questions, etc Screenshot 20

    You may then Inject CSS to your form if you want to position the Text Field somewhere (e.g. emulating a header or subheader).

    Related guide: How-to-Inject-Custom-CSS-Codes