How to prevent a text box from scrolling ?

  • Profile Image
    capt742000
    Asked on January 18, 2018 at 09:23 AM

    How can I prevent a text box from scrolling if more than a set number of lines are entered? I want to limit entry to the number of lines that will fit in the displayed box. I assume CSS would be used.

    Thank you,

    Mike

  • Profile Image
    VictoriaKondratenko
    Answered on January 18, 2018 at 10:10 AM

    I guess this is the only effect you can achieve using css... Specifically, to remove an ugly scrollbar.

    1516288181post11.gif

    If it is acceptable, use this code:

    1516288218overflow.png

  • Profile Image
    capt742000
    Answered on January 18, 2018 at 11:36 AM

     Thanks. Works well. If more than 9 are actually written, form will not Submit until

    correct number of names is entered/

    Thanks