Field labels are not displayed in the preview or live form

  • Profile Image
    sixtowns
    Asked on June 12, 2015 at 05:17 AM

    Hello,

     

    My text box headings are missing when the form is previewed?

  • Profile Image
    ibrahim
    Answered on June 12, 2015 at 09:19 AM

    Hi,

    You can inject CSS code to display all labels. Here's sample code: 

    .jotform-form .form-line[data-type="control_textbox"] .form-label {

    display: block !important

    }

    Thanks.

  • Profile Image
    sixtowns
    Answered on June 12, 2015 at 09:29 AM

    thanks that did the trick

  • Profile Image
    Welvin
    Answered on June 12, 2015 at 09:31 AM

    You can also add the following custom CSS codes, this is to display all hidden labels in the form, not just the textbox field.

    .jotform-form .form-line[data-type="control_textbox"] 

    .form-label, .jotform-form .form-line[data-type="control_textarea"] 

    .form-label, .jotform-form .form-line[data-type="control_fullname"] 

    .form-label, .jotform-form .form-line[data-type="control_email"] 

    .form-label, .jotform-form .form-line[data-type="control_address"] 

    .form-label, .jotform-form .form-line[data-type="control_phone"] .form-label 

    {

      display: block;

    }

    Thanks