Handle changing form attributes correctly when there is a child element with the same name. Fixes #4299
Attach a file by drag & drop or click to upload