We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17301
    • 932 Posts
    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)

    CSS:

    	#submitting{
    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;
    }


    HTML

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


    JS

    $('#submit').click(function(event) {
    $('#submitting').fadeIn();
    });

      ■ email: [email protected] | ■ 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.