Generating form functions based on input types
Add function for textarea tag