custom forms fix

Here's the pull request for https://github.com/zurb/foundation/issues/1971

Cheers,
Andi