This is a neat little script that demonstrates two things:
Not all forms are meant to be static. Sometimes, you want to allow the users to add certain parts of the form as they need them. Here is a nice example of dynamically adding inputs to your form as users need them. In addition, an input limit has been implemented in the script and it is set to 3.
We will cover how to implement this example later on in the tutorial but first let’s start with a simple example.