Is there a way to apply the same function to ALL textboxes in a project? I have about 50+ textboxes on a form (and 100+ more on other forms) that must be completed by the user and then uploaded to a MYSQL server upon saving. I want to add a "handleApostrophes" function to each textbox's leave event so that MYSQL can handle an apostrophe (by adding ''). What I do not want to do is to have to go into each and every textbox to call this function ... is there a quicker way to add a function to multiple textboxes in a project?