fixed the form example to not use deprecated methods
minor #827 fixed the form example to not use deprecated methods (fabpot)

This PR was merged into the master branch.

Discussion
----------

fixed the form example to not use deprecated methods

see #822

Commits
-------

fa45d9a fixed the form example to not use deprecated methods