Simplify method and remove param weirdness.
Remove cast
Merge pull request #3268 from dereuromark/3.0-form-inputs

3.0 form inputs