bumblebeeC / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Contact Form Doesn't Clear After Sending #276

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Subtext 2.5.2.0

What steps will reproduce the problem?
1. Fill out the contact form.
2. Send the message.
3. Note that a label pops up saying the message was sent but the form is still 
populated.

In Subtext 2.1.0.5 the form would clear out after successful sending. The 
problem with leaving it populated is that in the case of a very fast postback, 
the message saying "success" is not super obvious and users may click to send 
repeatedly until they notice the tiny additional line explaining it's been sent.

Original issue reported on code.google.com by travis.illig on 3 Nov 2010 at 7:30

GoogleCodeExporter commented 8 years ago
Attached you'll find a patch for this issue.

Original comment by codemu...@googlemail.com on 28 Dec 2010 at 5:06

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch, but I had a different idea. If I submit the form, I might 
want to be able to see what I just sent. I just checked in a fix that swaps the 
text boxes with the submitted text and removes the submit button and the 
captcha. I think it provides a better experience.

Try it out and let me know what you think.

Fixed in r4170

Original comment by haac...@gmail.com on 29 Dec 2010 at 6:16

GoogleCodeExporter commented 8 years ago
You're right, the end user experience is far better that way. I tried it on my 
local machine and it works like a charme! 

Original comment by codemu...@googlemail.com on 29 Dec 2010 at 10:51

GoogleCodeExporter commented 8 years ago

Original comment by Simon.JPhilp on 10 May 2011 at 7:22