Allow Field value as per define in table field

I Want to Allow only 35 charecter in form Text Box

For example

In Table field name text 35

when i enter Name in form Text box i cannot enter more then 35 Charecter in form text box

Please help me

Well… you have the problem and you have writed the solution: field Text with Length 35. I think I didn’t understand good, could you detail what’s the problem please?

Set the fieldlength in the table itselt (not a good idea is a standard-table!)

Use OnValidate-trigger (table or form) to either cut of 35+ characters og to throw an error (recommended)

On the form, create a variable (Text 35) and use this one for input.

There are probably some other ideas out there…