I have a form that sends parameters. In my form I have a checkbox. If my checkbox is not checked then I will not get any parameters.
If in my module I have :
I had similar issue during validation of single boolean field.
I solved it by using remember = form.rememberme.data instead of request.form['remember_me']
remember = form.rememberme.data
request.form['remember_me']