fixing beforeCasting - Fixing form validation template -

Nothing to notice