After creating a new magnet, empty the input field.

Added simple jquery to empty the input field after the form is submitted.