mercredi 5 avril 2017

List with multiple checkboxes

I am trying to create my first flask based website. So i have created a list which has two fields text and status. I will be displaying this in a table with text as label and status as checkbox.

What I want to do that for each checkbox, I want to capture the change status and update it at server.

I am thinking to create each text:status in a form. But i am unable to grasp that how would it go back, what field would it bind too and how would i make sure that i am getting correct checkbox id.




Aucun commentaire:

Enregistrer un commentaire