Mar-25-2025, 08:31 PM
(This post was last modified: Mar-25-2025, 08:31 PM by deanhystad.)
I missed that the submit button is not connected to the submit_form() function. The clear button is correctly connected to the clear_form function, so no indication of sleeping in class, just a mistake.
The gender_menu and course_menu should have labels like the Entry widgets, and the menus should default to the first selection. I would use StringVars with the Entry widgets. set("") is simpler than entry.delete(0, tk.end). Functions should be above the main body of code in the file, not inline with it.
The gender_menu and course_menu should have labels like the Entry widgets, and the menus should default to the first selection. I would use StringVars with the Entry widgets. set("") is simpler than entry.delete(0, tk.end). Functions should be above the main body of code in the file, not inline with it.