Remove unused code in the last code sample
Merge pull request #2519 from CharlyP/dynamic-form-modification-fix

Remove unused code in the last code sample