i want to pass a form name to a function as a parameter how can i do it