Fix use of duplicate input ids in form.
Merge pull request #237 from fuzzytern/patch-1

Fix use of duplicate input ids in form.