What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    HTML Fields

    Asked by retellp on January 18, 2012 at 10:53 AM

    Whenever I use any type of formatting (bold, italicize, underline) in the Free Text (HTML) fields, the formatted text always causes some sort of a problem when viewed outside of the form edit screen (like in the Preview). With underlining specifically, it always omits the space between the non-underlined and underlined word. It also always adds an extra space after the formatted text and before the non-formatted text.

    I need my form to look professional. Is there anything I can do?

  • Profile Image

    Answered by fxr on January 18, 2012 at 03:24 PM

    Looking at your form, it appears you have managed to get this issue sorted out.

    Is that correct?

    If you have time, would you mind sharing what you did to fix it? 

  • Profile Image

    Answered by retellp on January 18, 2012 at 04:29 PM

    It's actually incorrect. I resolved the problem by removing the underline formatting. I would have preferred to keep it so that the key words stand out more, but since that would cause the spaces to disappear, I unfortunately had to forego the underlining.

    If possible, please look at the code you use for the Free Text field and address this issue going forward.

  • Profile Image

    Answered by fxr on January 18, 2012 at 04:42 PM

    Ah, ok I see the issue now. 

    Here something you can do to fix it, after making your desired word underlined/italic , delete the space before it, and then recreate the space. 

    It is odd behaviour and I will escalate to have the developers fix it, but can you confirm that workaround works ok? 

  • Profile Image

    Answered by retellp on January 19, 2012 at 09:46 AM

    Thank you, that workaround seems to work. Could you please also look into why a space is always inserted after the formatted text? It's not a problem if I have more words after the formatted text, but if it's some sort of a punctuation sign, I always end up with a space between the formatted text and the sign.

    For now, I'm going to just apply the formatting to the sign as well. It doesn't look good, but it's better than having an unnecessary space.