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

    eliminate state, postal & country from all address fields

    Asked by infoGCCT on April 07, 2012 at 01:56 AM

    My form http://www.jotform.com/?formID=20961287624862 has a few fields concerning address;

    1: Other Pickup Address

    2: Other Destination Address

    3: Other New Return Address

    I want to eliminate the following fields, State / Province, Postal /Zip and Country as they are not required in my form.

    I have tried using injected css but must be doing something wrong because when testing the form before going live these fields are still showing.

    Can you please provide another way of creating address fields by providing an opt in or out for various fields within the address field. I'm sure many others are having the same problem.

    Thank You In Advance

    Tony Howell

    infoGCCT

    Screenshot
  • Profile Image

    Answered by gori-mathew on April 07, 2012 at 02:19 AM

    Hi,

    Thanks for contacting us, I will do my best to assist you. I hope i got your question right, You need to customize address fields to those that are relevent and suit your scenario than using the ones in our 'quick tools'.

    You can delete this entire field of address and create them one by one using 'text field' in our  'form tools' section found in formbuilder page. Kindly you can look at the links below to see the tools i am talking about,

    http://www.jotform.com/help/46-Screenshot-List-of-All-Form-Fields

    http://www.jotform.com/help/2-How-to-Create-Your-First-Web-Form

    Hope this information will be of great help to you, feel free to lets know if you need further assistance.

  • Profile Image
    JotForm Support

    Answered by idarktech on April 07, 2012 at 03:19 AM

    Hi Tony,

    I've modified your CSS and here's now the final code:

    .form-address-state, .form-address-postal, .form-address-country{

    display:none;}

    #sublabel_state, #sublabel_postal, #sublabel_country{

    display:none;}

    #cid_5 .form-sub-label-container {

    margin-right:2px;}

    Replace your whole code with this. Here's the result: http://form.jotform.me/form/20971102238446?

    Hope this helps. Thanks for using JotForm!

  • Profile Image

    Answered by infoGCCT on April 07, 2012 at 03:25 AM

    Thank You idarktech you are a legend

    Thank You

  • Profile Image

    Answered by gori-mathew on April 07, 2012 at 07:46 AM

    Welcome and we are glad to know that it worked out fine!