Move delegated event to this element not form

Fix #1131 caused by delegated event being attached to form rather than this element. 

Because delegated event runs on any input fields with name starting with element-name (intending to catch element-name[0], [1] etc.) it also catches any element whose name starts with this element name such as element-name-extended.