On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Your form shouldn't be taking that long to send unless the user is uploading files?

    You can easily add in an animating spinner or anything else though by just creating a hidden div with the animation and then use some javascript/jquery to display when clicking the submit button. For example... (may not work)


    background: rgba(0,0,0,0.8);
    text-align: center;
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
        z-index: 500;


    <aside id="submitting">
    <small>Submitting...Put in anything here.</small>


    $('#submit').click(function(event) {

      ■ email: lk@alienbuild.uk | ■ website: https://alienbuild.uk

      The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.