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 remove the blank line at the top of the drop-down list?

    Asked by deecox on August 04, 2016 at 01:37 PM

    Another couple of points -

    In the Jotform field {selectCurrency} I cannot remove the blank line at the top of the drop-down list. I just want EUR and USD displayed (with EUR selected) without the first blank line.

    How can I reduce the amount of space between Step 1 and Select currency, more like this -

    Step 1

    Select currency *

     

    and the same as the space under Step 2, Step 3 and Step 4.

     

    Many thanks for your help

  • Profile Image
    JotForm Support

    Answered by BJoanna on August 04, 2016 at 01:59 PM

    Unfortunately it is not possible to remove blank option from dropdown field, but you can hide it with CSS code. To hide blank option add this CSS code to your form:

    select > option[value=""] {

        display: none;

    }

    How to Inject Custom CSS Codes

    You can reduce spacing between fields inside of Form Designer. Open your Designer and select Line Layout tab. There you can reduce line spacing and vertical padding.

    Here is my demo form: https://form.jotform.com/62165348698974 

    Feel free to clone it.

    Hope this will help. Let us know if you need further assistance.