Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Agile Web Development (CITS3403).
RSS cloud
Jump to:

Dynamic WTForms and multiple button/submitfields

1 of 419 articles shown, currently no other people reading this forum.
From: Timothy F.
Date: Sat 16th May 2020, 10:08pm


I'm not sure what's happening there, but the hack of using a submit field for a button looks a bit dubious.
will just render 
into the HTML, so maybe use Flask shell to investigate what's happening there.

 From what I can tell, the Unbound form reference comes from the _form attribute not being instantiated. I'm guessing this is because each 
form should only have one submit field? 

Related articles

Dynamic WTForms and multiple button/submitfields (all 5) RSS
├─ original   Sat 16th May 2020, 2:33pm, Nicholas T.
├─ reply 1   Sat 16th May 2020, 3:54pm, Timothy F.
├─ reply 2   Sat 16th May 2020, 6:00pm, Nicholas T.  O.P.
├─ THIS   Sat 16th May 2020, 10:08pm, Timothy F.
└─ reply 4   Sun 17th May 2020, 12:59pm, Nicholas T.  O.P.
This Page

Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020