diff --git a/forms.go b/forms.go index 7a555c0..8c0ea07 100644 --- a/forms.go +++ b/forms.go @@ -48,7 +48,11 @@ func decode(form Values, rv reflect.Value, prefix string) error { continue } - tu.UnmarshalText([]byte(v[0])) + err := tu.UnmarshalText([]byte(v[0])) + if err != nil { + return err + } + continue }