https://docs.djangoproject.com/en/2.0/topics/forms/formsets/ to allow for multiple instances of the same form type. Then you will need some javascript to handle showing additional instances of the form when the button is clicked
On Thursday, July 19, 2018 at 9:29:51 AM UTC-4, Django Lover wrote: > > Here is the image of the form what is need when user click on "Add New Tax > " two input (Tax name and Value ) should generate dynamically and with all > field of the form. > > <https://lh3.googleusercontent.com/-WL_9Np4MV0M/W1CRf9tI_RI/AAAAAAAAAP0/0KAi2WX8UfMTDnO7YsW28dzE-r-YTiSOwCLcBGAs/s1600/django%2BDynamic.png> > > <https://lh3.googleusercontent.com/-WL_9Np4MV0M/W1CRf9tI_RI/AAAAAAAAAP0/0KAi2WX8UfMTDnO7YsW28dzE-r-YTiSOwCLcBGAs/s1600/django%2BDynamic.png> > > <https://lh3.googleusercontent.com/-WL_9Np4MV0M/W1CRf9tI_RI/AAAAAAAAAP0/0KAi2WX8UfMTDnO7YsW28dzE-r-YTiSOwCLcBGAs/s1600/django%2BDynamic.png> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8ae0b6c-957c-4cae-83b1-b7e46916d797%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.