Text box

  • Profile Image
    cocotten
    Asked on September 25, 2011 at 12:10 PM

    Dear Jotform

    I have a problem with the hight of the text box.

    I want to have 25 rows with text... My problem is that the box in the formular gets very long and the customer might just need to fill in 2 rows. Is it possible to automamate the size with some CSS code? And can you please provide it?

    I have tried to make is smaller by draging the corner as well, but the hight is not saved.

    It is this field "Noter din bestilling her:*"

    Hope to hear from you soon.

    Many thanks in advance.

    Best regards

    Marie-Louise

     

     

  • Profile Image
    AtacanC
    Answered on September 25, 2011 at 01:12 PM

     

    Hi Marie-Louise

     

    Thanks for asking. The only solution for your problem can only be with a javascript.

    You can use this plugin .There are no CSS codes for it.

    My suggestion might be that instead of using 25 rows only 15 rows. I hope that i could help you to solve your problem.

     

    Best regards

    AtacanC

  • Profile Image
    allanftd
    Answered on September 25, 2011 at 03:11 PM

    Hi Marie-Louise,

    You can just reduce the number of rows to 2 to save space, the box should automatically add a scrollbar on the right side of the box once the answer becomes 3 rows or more. You can try this form:

    http://www.jotform.com/form/10670045960?

    In addition, in Google Chrome, you can actually drag the lower right corner of the box to enlarge it.

    We hope you find this tip useful. Please let us know if you need further assistance.

    JOTFORM SUPPORT

  • Profile Image
    abajan
    Answered on September 25, 2011 at 06:26 PM

    @AtacanC

    That's a real gem of a find! The only drawback is I'm not sure if it will work in our forms as the solution is jQuery based. Some tests will need to be run to confirm one way or the other.

    Nevertheless, thank you very much for sharing that link.

    Cheers :)


    ~ Wayne

     

    UPDATE: Soon after posting, I read through the comments at the link and found Swapnil Sarwe's post which eventually lead to his latest version of the script which does not require jQuery.

    Thanks again.