Added the attribute name to the hidden input with existing values