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

    Widen radio button's "other" option?

    Asked by cgl102770 on October 28, 2011 at 06:58 AM

    Currently, the "other" option's box is a few words wide. I'd like it to be at least 2 or 3 times wider than it defaults to. Is this possible? Thank you for any suggestions!

    Page URL:
    http://form.jotform.com/form/12963736541

  • Profile Image
    JotForm Support

    Answered by idarktech on October 28, 2011 at 07:39 AM

    Hi,

    Yes it is possible, just simply inject this css code:

     

    input#input_1.form-radio-other-input {

    width:250px;

    }

     

    Just change the bolded number as your "other" option box width.

     

    To inject css codes, please follow this guide:

    1. While  on  your form (Edit Mode), click Setup & Embed then  Preferences



    2. On the Preferences window, goto Form Styles tab and then insert your CSS Code under Inject Custom CSS Box.
    Clicking on "Close Settings" will then automatically  save the changes.

     

    I hope this helps. Thank  you and have a great day!
    ~idarktech
  • Profile Image

    Answered by cgl102770 on October 28, 2011 at 07:42 AM

    You guys rule...your support/response is always outstanding. Thank you.

  • Profile Image
    JotForm Support

    Answered by idarktech on October 28, 2011 at 07:45 AM

    Your welcome! If you have any other concern, just let us know, we'd be happy to help you.

  • Profile Image

    Answered by dellquaysc on November 14, 2012 at 08:20 AM

    hmmm. Didn't work for me, no matter what value I entered, no change!

  • Profile Image
    JotForm Support

    Answered by idarktech on November 14, 2012 at 08:31 AM

    @dellquaysc

    Use this instead:

    .form-radio-other-input {

    width: 250px;

    }

    Just change the width value if necessary.

    Thanks!

  • Profile Image

    Answered by clubforms on November 14, 2012 at 08:47 AM

    That was a quick response - thank you!

    Your suggestion worked, it allowed me to widen the "other" option.

    Worth noting you have to be careful with the value you use if you have also set the width between buttons using CSS too.

    My button spacing was 200px, so the maximum width for "other" that worked was 170px, else you get the "other" radio button mis-aligned with the entry field

     

  • Profile Image
    JotForm Support

    Answered by idarktech on November 14, 2012 at 09:01 AM

    That's great and thanks for the tip.

    Cheers!