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 we format the text of our input field?

    Asked by hilltopkennels on August 07, 2015 at 04:23 AM

    I'm trying to change the format of the text in the field input area of {blah} to match the format of the label text of {shampoo1}

    Is this possible?

    Many thanks.

    Simon 

    Page URL:
    http://www.jotform.com//?formID=52096324338355#

    formatting text label format label text
  • Profile Image

    Answered by hilltopkennels on August 07, 2015 at 05:16 AM

    Also, I need to make the field input area larger so it fills the whole column

  • Profile Image

    Answered by Shadae on August 07, 2015 at 10:05 AM

    Hi Hilltopkennels,

    I do apologize but I was unable to find the field with the name {blah}, can you provide use with the label that is associated with that field.

    It does appear that your full form is formatted to be in the font Roboto. If you are still having the issue we would be happy to assist you.

    Please use the following CSS code to change the width of your textbooxes:

    .form-textbox {

        min-width : 300px;

    }

    You can adjust the pixel size for your desired result.

    We await your response.

  • Profile Image

    Answered by hilltopkennels on August 07, 2015 at 10:35 AM

    The label is set to <null> the field id is #id_227

    I only want to change the width of this one field, not all of them so the command you've supplied will not work

  • Profile Image

    Answered by hilltopkennels on August 07, 2015 at 10:36 AM

    Please could you also advise how I change the font size and colour for this field specifically as it is showing as black rather than white and needs to be made a larger point size

  • Profile Image

    Answered by Ben on August 07, 2015 at 11:39 AM

    The easiest way to change something on a single field, is to go into Form Designer and double click on that field.

    You will quickly see that you are no longer changing a class affecting all fields, but only that one single field instead.

    Now if you would like to do it manually, all you need is the field ID and since you happen to have it this is the code that would work:

    #id_227 input {} or #id_227 .form-textbox {} or even a combination of both:

    #id_227 input.form-textbox {
        min-width: 300px;
        color: white;
        font-size: 20px;
    }

    Just add it at the bottom of all the other code in your form's custom CSS field: Inject Custom CSS Codes

  • Profile Image

    Answered by hilltopkennels on August 07, 2015 at 01:57 PM

    that's great thx, also, how do i set it so that the text wraps within the box rather than overflowing?

  • Profile Image
    JotForm Support

    Answered by Mike on August 07, 2015 at 03:07 PM

    You can try adding the next properties to simulate the word wrap (single text box inputs are no designed for multi-line text).

    {
    word-wrap: break-word;
    word-break: break-word;
    }

  • Profile Image

    Answered by hilltopkennels on August 07, 2015 at 03:11 PM

    that works fine, thanks