Dynamic Page Multiline Text

I am using a text box connected to Database . The text coming from the DB is pretty long . And I want to limit the number of lines .

Is there a way to limit the text to 2 or 3 lines using Wix code or any other approach ?

You might consider using the maxLength property of the TextBox component.

I hope this helps,

Yisrael