Fix issue #541 - error if no value in textarea

closes #541