Skip to content Skip to sidebar Skip to footer

Dynamically Added Row To Inline Formset Not Reflected In The Post Request In Views.py In Django

I'm trying to add dynamic forms to my inline formset using the steps mentioned in the post: Add a dynamic form to a django formset using javascript in a right way I have inline for

Solution 1:

After almost 5 days i got the solution. Issue was with the form tags. My crispy form rendering was happening outside the form tags. I analyzed the entire html and fixed the issue. So basically the code posted in the question will work fine. I keep the answer here so that no one does this error again.


Post a Comment for "Dynamically Added Row To Inline Formset Not Reflected In The Post Request In Views.py In Django"