don't specify pattern after all. doesn't work for textarea