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

    Can you remove the second line of the Address field

    Asked by SewGoodca on September 13, 2015 at 12:31 PM

    I would like to have the "Street Address line 2" removed from my form. I find it confuses people and they put the city  there by mistake and then

    the postal code won't work. The error message does not show the actual error. It just says the postal code is invalid. 

    I had a customer complain that it wouldn't take her correct postal code. I went and tried it and I made the same mistake. 

    I have attached a screen shot below. 


    Page URL:

  • Profile Image
    JotForm Support

    Answered by ashwin_d on September 14, 2015 at 01:07 AM

    Hello SewGoodca,

    Please inject the following custom css code in your form to remove the address line 2 of your form:

    input#input_54_addr_line2 {

        display: none;


    label#sublabel_54_addr_line2 {

        display: none;


    The following guide should help you how to inject custom css code in your form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 


    I have moved your question related to postal code to a new thread and you will be answered here:  http://www.jotform.com/answers/661387

    Thank you!

  • Profile Image

    Answered by SewGoodca on September 14, 2015 at 04:47 PM
    Thank you so much! It worked like a charm.
    Regarding the question about the Postal Code…it was actually related to the problem with the second line in the address field.
    When the city it mistakenly entered into the address line 2 field the error did not show up until you entered the postal code. So in the screen shot I attached the error was not the Postal Code, it was the City being placed in the wrong field.
  • Profile Image
    JotForm Support

    Answered by Chriistian on September 15, 2015 at 12:10 AM

    On behalf of my colleague, you are welcome. You are right the error displayed on the screenshot you provided is because the City is a required field and the in your screenshot it is empty so the error was displayed. I can also see that one of my colleague on your other thread also suggested a solution on how to remove the Street Address Line 2. If you have any further question, please feel free to contact us again.