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

    How to Prevent Sub-Label Wrapping

    Asked by dlasson on November 09, 2015 at 03:10 PM

    Hi.

    How can I prevent the text in my sub label from wrapping?

    The sub-labels are here: "Voluntary Life/ADD" section: Spouse Coverage/Desired Coverage Amount. And Dependent Coverage/Desired Coverage Amount.

    Thanks.

    Page URL:
    https://form.jotform.com/52426685038157

    label wrapping sub how
  • Profile Image
    JotForm Support

    Answered by BJoanna on November 09, 2015 at 04:58 PM

    You can prevent sub label from wrapping by injecting Custom CSS code. Inside of your Form Builder select Setup & Embed tab, then click on Preferences, then select Form Styles tab and inside of Inject Custom CSS field at the bottom of existing code paste this code:

    .form-sub-label {

    white-space: nowrap;

    }

    After adding this code your form will look like this.

    Here is my demo form: https://form.jotform.com/53126968748975? Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.