Text Format Updates

  • RogerYelvington01
    Asked on February 21, 2017 at 2:27 PM

    Hi Guys!

    I am trying to update the text in these tables, and in the editor it shows, but when I preview the form the bold and underlined updates go away.

    https://form.jotform.com/70514721286959

     

    Please advise, thank you!

    Roger

     

    Text Format Updates Image 1 Screenshot 20

     

  • Kevin Support Team Lead
    Replied on February 21, 2017 at 4:45 PM

    I can see you tried to add some HTML tags in the rows names, some HTML tags are not allowed due to security matters; however, I can see the <span> can still be used so I would suggest you to add <span> tags to the text you need to format. 

    Then inject some CSS code to your form to format the string, this one helps to underline: 

    #id_1 th.form-matrix-row-headers span {

        text-decoration:underline; 

    And this one will help to bold the text: 

    #id_64 th.form-matrix-row-headers span {

         font-weight: bold; 

    What you would need to change to apply this code to other fields will be only the Id used, to get it simply right click on the field and copy the <li> ID: 

    Text Format Updates Image 1 Screenshot 20

    This guide will help you to inject the code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Here's also my sample form: https://form.jotform.com/70515981621961 

    Feel free to clone it