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 find the field IDs on widgets?

    Asked by nchiro on April 30, 2015 at 05:20 PM

    Hi, 

    The properties boxes for the following Widgets do not show ID #s:

    Image Radio Buttons (I'm wanting to change the font below the image)

    Button Radios (I'm wanting to move the element up higher on the page by reducing the padding).

     

    Thanks.

    Page URL:
    https://secure.jotform.co/form/51187374251859

    find ID# radio buttons style size font
  • Profile Image

    Answered by raul on April 30, 2015 at 06:39 PM

    Unfortunately, for widgets you would need to use firebug (if you're using Firefox) or the web developer tools (if you're using chrome) to know the id of the elements you want to customize.

    For the image radio buttons, you need to use the custom CSS section on the configuration screen of the widget to enter the code you want to use.

    For example to change the font of the labels.

    And for the radio buttons, unfortunately, there's no way to inject custom CSS to it because it's rendered inside an iframe. But you can reduce the padding of the fields above and below to reduce the space using this code:

    #id_20 { padding-bottom: 0 !important; }
    #id_22 { padding-top: 0 !important; }

    You can put negative values if you want to reduce more the vertical space between the fields.

    Hope this helps.

    Let us know if you need further assistance.