replace a few methods with a magic method to

prevent code duplication
refactored Textarea
refactored form object
fixed bug with last commit