Use input's name property. Add success confirmation alert.