CottageLabs / idfind

An identifier identifier
1 stars 0 forks source link

/submit page ideas #29

Open emanuil-tolev opened 12 years ago

emanuil-tolev commented 12 years ago

web.py.SubmitView

when the user makes a mistake on one of the required fields - e.g. they filled in the whole form, but forgot to click the radio buttons at the top to tell us whether it's a test or a description (or they forgot to enter a name), they are redirected back to the same /submit page, but the form is cleared. So they lose the data they entered, unless they're also using the autocomplete feature of their browser (and even that's not very useful if you've filled the form out too many times).

It is customary for forms on the web to echo non-sensitive data back to the page if the form failed validation, so that the user doesn't have to fill out the whole thing again.

Implement that.