Allow textareaFields to have a required attribute

(Just like `htmlField` does)

Resolves #817.