Maximum characters validation fails when form is embedded