Is there a possibility to set a max value for a data entry? For example: Max value = 350, someone enters 400, the value automatically chances to 350.
I thought something like
if int(entry1.get()) > 350:
int(entry1) = 350
But I can’t get this to work because of an int error.
Thanks in advance.