Multiple Choice Properties: Change the size of the Text Box

  • dwspec007
    Asked on 25 sierpnia 2023 06:57

    Dzień dobry, chciałem zapytać czy można na etapie budowania formularza rozszerzyć to pole tekstowe w momencie wypełniania formularza ?

    Multiple Choice Properties: Change the size of the Text Box Image 1 Screenshot 20



  • Camila Jotform Support
    Replied on 25 sierpnia 2023 10:12

    Hi Dwspec007,

    Thanks for reaching out to Jotform Support. Unfortunately, our Polski Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Polski, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. Unfortunately, that is the default size of the text box for the Other Field, but you can use the CSS to change the width and height of the box. Let me show you how to fix the height and width of the Other Field:

    • In Form Builder, click Form Designer on the right side of the screen.
    • On Form Designer, click Styles.
    • On Styles, go to Inject Custom CSS and inject the CSS code below to change the width and height of the Other Field:
    input#input_73 {
       height: 150px !important;
    }

    Multiple Choice Properties: Change the size of the Text Box Image 1 Screenshot 30

    • Once you successfully inject the CSS code, click the Save button.

    Check the results below:

    Multiple Choice Properties: Change the size of the Text Box Image 2 Screenshot 41

    You can check out this Demo form so you can test it by yourself. If you want to clone the form you can check out this guide about How to Clone an Existing Form From a URL.

    You might also want to check out this guide about How to Inject Custom CSS Codes.

    Give it a try and reach out again if you have any other questions.

  • jobelpro
    Replied on 27 sierpnia 2023 15:30

    Thanks, I did as you said but nothing changed.


    https://form.jotform.com/232362842381354


    image Screenshot 10

  • Amin_N
    Replied on 27 sierpnia 2023 18:31

    Hi Dawid,

    Thanks for getting back to us. The default other text field is of input type. Even if we extend the height, you will be able to enter only one line. The only way to allow adding multiple lines is to add the textarea element to your form and have it show up conditionally when the other option is selected - make sure the other option is just a regular option.

    Multiple Choice Properties: Change the size of the Text Box Image 1 Screenshot 30

    Multiple Choice Properties: Change the size of the Text Box Image 2 Screenshot 41

    Let us know if there’s anything else we can help you with.