I am facing issue while appending fieldlist through append_entry in flask-wtf.

I am able to add one row of fields from fieldlist but after adding first row, i am not able to add second row.

No errors are shown.

In first attempt a new row is added of field list items and in server log "Data is King" and "True" is printed {I have included this to see if add button sends data and loop actually goes through}.

In second attemt new row is not added but page reloads and in server log "Data is King" and "True" is printed {This means loop is executed but append_entry command does not work}.

I found same question asked 4 years ago, but solution given in that question's accepted answer does not solve the problem.

Below is the link.


I have tried all the combinations but nothing solves the problem (am upto this problem for more than 48hrs now).

Can someone help please.

Here is the link to review code as I couldn't post code with regular bracket or square bracket.

Click Here

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.