How can I create a number field with the function to decrease the number quantity after a submission is made?