Update FormHelper.php

An pull request for #4410.
Update FormHelper.php
Merge pull request #4411 from MichalWadowski/patch-5

Make FormHelper easier to customise through additional methods