Form submitting twice

  • Hi,

    I have a Perch form that is submitting twice when being used - generating 2x emails, 2x records in the Forms area of the panel etc. This is the form code:

    And this is my short diagnostics:

    • Perch Runway: 3.2, PHP: 7.1.33, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $, with PDO
    • Server OS: Linux, cgi-fcgi
    • Installed apps: content (3.2), assets (3.2), categories (3.2), perch_forms (1.12), perch_mailchimp (3.1), perch_twitter (4.0)
    • App runtimes: <?php $apps_list = [ 'perch_forms', 'perch_mailchimp', 'perch_twitter' ];
    • PERCH_LOGINPATH: /staffroom
    • PERCH_PATH: /var/www/vhosts/
    • PERCH_CORE: /var/www/vhosts/
    • PERCH_RESFILEPATH: /var/www/vhosts/
    • Image manipulation: GD Imagick
    • PHP limits: Max upload 16M, Max POST 16M, Memory: 128M, Total max file upload: 16M
    • F1: 3b606135b33e6a102526838f4152a807
    • Resource folder writeable: Yes
    • SCRIPT_NAME: /staffroom/core/settings/diagnostics/index.php
    • REQUEST_URI: /staffroom/core/settings/diagnostics/
    • DOCUMENT_ROOT: /var/www/vhosts/
    • HTTP_HOST:

    Has anyone seen this behaviour before?

  • Are you still getting the issue, Mike. I see that now and again. I think its the user pressing submit twice (in my case), when they think they are not getting a quick response to the submit button. It only happens to some of my sites occasionally.