I dont usually have to mess around too much with dynamic/input text, so im really hoping this is an issue of me not finding the right parameter or setting in the properties panel.
I have a series of multiline input text fields.
For each text field I just need to restrict the number of characters to the size of the text field. so, essentially when the field is filled up, it wont accept any new input.
Restricting the field by character isnt a viable solution based on the approved font for this project. (18 W s may fill up the field, but 18a s only fill up one line of text.)
Any suggestions as to resolve this issue would be appreicated.
If you cannot base it on character count, base it on the TextField.width versus the TextField.textWidth properties. If the textWidth exceeds the TextField width, then chop off whatever is on the end until it isn't.
The width seems to function just fine, The issue comes when it reaches the end of the second line and it adds a new line and pushes the top line up.
Am i correct to assume that i could just take your suggestion and adjust it to height?
... It really kind of boggles my mind that this functionality has to be custom coded... this should be a no -brainer from a design perspective...
Europe, Middle East and Africa