How can my for generate numbers on submittion