Making a list of form fields with a for loop?

In addition to the prior answer, you can also access the form fields attributes directly in the __init__ method of the class and add the fields there.

While it’s not a precise match, this earlier topic addressed a corresponding idea with the admin.