https://discountedgerberprotectplus.blogspot.com/2023/10/widget-validation-in-tkinter.html
Widget Validation In Tkinter