Hot answers tagged

2

Looks like the js is verifying that !document.querySelector('#name').value is not blank. And actually, it's likely never blank. Whyzat? Because it has a default value of "Name" by definition: <input type="text" id="name" name="name" value="Name" class="form-control"> Perhaps you meant to use placeholder instead. (You could also make it required and ...


2

Have you tried export FLASK_DEBUG=ON


1

You need to pass SHEET to the template in your render_template call.


1

Your answers is going to be a list of each list of answers (ie, a list of rows). The actual 'title' of those answers isn't in the file. You only need to iterate over each line and then iterate over each item (in the comma separated list). Let's say that someone filled out your form and chose "me, 1, sports, my reasons" for the 4 questions. The next ...


Only top voted, non community-wiki answers of a minimum length are eligible