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 add a HTML title attribute to rows or cells inside a Matrix field

    Asked by rhenusnetwork on March 09, 2016 at 05:00 AM

    Hello,

    could you please explain how to prepare the HTML's title attribute?

    Thank you in advance!

  • Profile Image
    JotForm Support

    Answered by Boris on March 09, 2016 at 05:12 AM

    First, you will need to get the form's full source code:

    http://www.jotform.com/help/104-How-to-get-your-Form-Source-Code

    When you get the source code of the form, you can simply insert an attribute such as this:

    title="My custom text goes here."

    You would insert it between <td and its > of each table cell you want to have its own title upon mouse hover. So if the table cell's source code was this:

    <td align="center" class="form-matrix-values">
        <input id="input_9_0_1" type="number" class="form-number-input form-dropdown" name="q9_pleaseIndicate9[0][]" style="width:60px" size="5" />
    </td>

    We would change it to this:

    <td align="center" class="form-matrix-values" title="My custom text goes here.">
        <input id="input_9_0_1" type="number" class="form-number-input form-dropdown" name="q9_pleaseIndicate9[0][]" style="width:60px" size="5" />
    </td>

    This will result in the that particular table cell displaying "My custom text goes here." in a tooltip upon mouseover. Please let us know if you need further assistance, we are here to help.