Store tag-id in hidden filed if singleField is false

Store tag-id attribute in hidden-field of each tag, if singleFiled in
false