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 can i inject a hint into a matrix form

    Asked by ReeferPost on June 07, 2013 at 08:46 AM

    i woild like to inject css to add a Transparent "QTY" hint in the matrix text field, please help?

     

    Page URL:
    http://form.jotform.co/form/31572689079872

    Screenshot
    hint text field inject CSS qty
  • Profile Image

    Answered by jefreylandicho on June 07, 2013 at 10:11 AM

    You can add 'QTY' not by injecting a Custom CSS but by using the form source code. To use the form source code, go to Setup & Embed and click the Embed Form icon.

    Select the Source to get the form source code.

    Once you have downloaded the form source code, add an element in your input field similar below.

    placeholder="QTY"

    Another approach would be using a javascript. I have created an example which can be found on this link.

    If you need further assistance, please contact us again.

  • Profile Image

    Answered by ReeferPost on June 07, 2013 at 12:48 PM

    ok so this has to be done for every field one at a time? is there a way to add it to all fields at once?

  • Profile Image

    Answered by sidharth_kch on June 07, 2013 at 01:46 PM

    @ReeferPost

    I am afraid that you may have to add the code for all fields. I don't see any option where you can do this all at once.

    One possibility is to add custom javascript to loop through all the matrix fields and add the value.

    Thanks,

    Sidharth

  • Profile Image

    Answered by ReeferPost on June 07, 2013 at 03:40 PM

    Thank you both for the fast replies!

  • Profile Image

    Answered by sidharth_kch on June 07, 2013 at 04:18 PM

    @ReeferPost

    You are welcome.

    Should you have any questions please feel free to contact us.

    Thanks,

    Sidharth