Suppose you are working one project, it had a list of products. And by clicking on the product, the data has to be sent through the post to other page. Now I had to make multiple forms. So we are create form dynamically on click function.
You can using javascript to create and send Dynamic form. It very easy way. You can fallow bellow example
Step1
Carete html page. In this page you can create input box and append form in bottom of body.
Step2
Create sendform.php page where you can receive producId.