add name attribute to form inputs