i would like to call a common validation procedure in all the forms.

for now only "is required" validation will do.
later will enhance it.

like on a form there are 10 textbox. out of which 7 are required. the user is shown a message only when he presses "Save".

i have got stuck in some basic problems like converting a string (in which the name of the textbox is stored) to a textbox and so have given up.

please suggest.