How to prevent a text box from scrolling ?

  • capt742000
    Asked on January 18, 2018 at 9: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

  • VictoriaKondratenko
    Replied 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 Screenshot 10

    If it is acceptable, use this code:

    1516288218overflow Screenshot 21

  • capt742000
    Replied 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