How to add columns where the user gives values

My question seems close to Inserting Metadata into custom columns, but I don't know how to resolve.