controller - fix bug in default form validation

The minlength check was not reporting the error correctly.