1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Contact Us form submit button grays out then un-grays

Discussion in 'Resolved Bug Reports' started by rebelde, Jun 28, 2015.

  1. rebelde

    rebelde Member

    I am not sure if you will agree that it is a bug, but I'm reporting it anyway.

    When the contact us form is viewed as a page, not a dialog:

    1. Write message.
    2. Click "Send Message".
    3. The Send Message button grays out. - Good.
    4. It shows: "Your message has been sent". - Good enough.
    5. A second or two later the button goes back to normal. - The user can now click it again! And they do. Sometimes 10 times because they are confused.

    Suggested fix 1:
    - Leave that button gray so that it can not get clicked again.

    Suggested fix 2:
    - Instead of a banner coming down briefly saying "Your message has been sent", I suggest replacing the form with that message. That would be standard expected behavior for a form.

    My earlier thread for background info: Contact us form > message has been sent > contact us form

  2. Amaury

    Amaury Well-Known Member

    It works the same with when posting a message. Pretty sure it's expected.
  3. rebelde

    rebelde Member

    No, when I post a message, the message that I just wrote is posted. A new editor appears without my message contents.
  4. batpool52!

    batpool52! Well-Known Member

    That would be as designed issue.
    Amaury likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    Two changes have been made here:
    1. If the contact form is not shown in an overlay (which generally isn't the default, but it can be linked to in this method), we now redirect after submission. This is what was reported here.
    2. If the contact form is shown in an overlay, we also clear the contents of the form after submission to ensure it doesn't look like it failed.
    HWS, Xon, Amaury and 2 others like this.

Share This Page