How to validate the no.of characters in a particular textbox

Basically I’m a beginner an want to make an app that calculates your age from your DOB but the problem is that though I set the text inputs to have max value as 2 or 4 (DD/MM/YY)
the user is still able to add more than 2 or 3 characters…

Please help me in solving this it’s urgent!!

Hello @bhagatagrima031179e, welcome to the community!
To let users input a date is better to use the date input component
Date Input Component - Thunkable Docs