Forum

Thread tagged as: Problem, Forms

After 2.8.25 my form is not saving/sending any responses

Hi,

I was suffering from the 'Form Radio buttons - Return "on"' issue so updated to 2.8.25 to solve this, but now the form isn't saving any entries, or emailing the results.

This is just on my local environment at the moment but the form was at least saving and sending before I upgraded today.

Diagnostics report PERCH INFORMATION

Perch: 2.8.25 Production mode: Production (100) Installed apps: content (2.8.25), assets (2.8.25), categories (2.8.25), perch_blog (4.6), perch_forms (1.8.2) DB driver: PDO DB tables: perch2_blog_authors (1), perch2_blog_comments (0), perch2_blog_index (68), perch2_blog_posts (2), perch2_blog_posts_to_tags (4), perch2_blog_sections (1), perch2_blog_tags (5), perch2_categories (0), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (1992), perch2_content_items (196), perch2_content_regions (17), perch2_forms (1), perch2_forms_responses (23), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (9), perch2_resource_log (448), perch2_resource_tags (0), perch2_resources (329), perch2_resources_to_tags (0), perch2_settings (24), perch2_user_passwords (0), perch2_user_privileges (38), perch2_user_role_privileges (15), perch2_user_roles (2), perch2_users (1) Users: 1 App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', 'perch_blog' ); Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Editor plug-ins: markitup H1: 12f2ba568fa1bce423026e3abae7cfc2 L1: 5529116184c3c9038ef82ea56c093460 F1: dc1fef2ad0fcd9f943c02ebb43d85dbc headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.8.1: done latest_version: 2.8.15 on_sale_version: 2.8.25 perch_blog_update: 5.0 perch_blog_post_url: /blog/{postSlug} headerScheme: light perch_blog_slug_format: {postTitle} perch_blog_akismet_key: perch_blog_max_spam_days: 0 dashboard: 0 hide_pwd_reset: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 0 perch_blog_comment_notify: 0 update_2.8.24: done update_2.8.25: done PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: root PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: perch-pixel-v6 PERCH_DB_PREFIX: perch2_ PERCH_TZ: Europe/London PERCH_EMAIL_FROM: richard@pixelcreation.co.uk PERCH_EMAIL_FROM_NAME: Richard Wiggins PERCH_LOGINPATH: /perch PERCH_PATH: /Users/richardwiggins/Dropbox (Personal)/Sites/PixelV6/perch PERCH_CORE: /Users/richardwiggins/Dropbox (Personal)/Sites/PixelV6/perch/core PERCH_RESFILEPATH: /Users/richardwiggins/Dropbox (Personal)/Sites/PixelV6/perch/resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /Users/richardwiggins/Dropbox (Personal)/Sites/PixelV6/perch/templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20 HOSTING SETTINGS

PHP: 5.6.10 Zend: 2.6.0 OS: Darwin SAPI: apache2handler Safe mode: not detected MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $ MySQL server: 5.5.42 Free disk space: 13.47 GB Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, ldap, mbstring, session, standard, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysql, SimpleXML, soap, sockets, exif, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, apache2handler, imap, gettext, mcrypt, yaz, pgsql, pdo_pgsql GD: Yes ImageMagick: No PHP max upload size: 32M PHP max form post size: 32M PHP memory limit: 128M Total max uploadable file size: 32M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes HTTP_HOST: pixel.dev HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 HTTP_CONNECTION: keep-alive HTTP_COOKIE: _ga=GA1.2.1781918711.1427795131; PHPSESSID=6e424f01dca93c39abd5848bb3308b9d; _gauges_unique=1; _gauges_unique_day=1; _gauges_unique_month=1; _gauges_unique_year=1; cmsa=1 HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4 HTTP_ACCEPT_LANGUAGE: en-us HTTP_REFERER: https://pixel.dev/perch/core/settings/diagnostics/ HTTP_ACCEPT_ENCODING: gzip, deflate PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices SERVER_SOFTWARE: Apache SERVER_NAME: pixel.dev SERVER_ADDR: ::1 SERVER_PORT: 80 REMOTE_ADDR: ::1 DOCUMENT_ROOT: /Users/richardwiggins/Dropbox (Personal)/Sites/PixelV6 SERVER_ADMIN: you@example.com SCRIPT_FILENAME: /Users/richardwiggins/Dropbox (Personal)/Sites/PixelV6/perch/core/settings/diagnostics/index.php REMOTE_PORT: 49904 GATEWAY_INTERFACE: CGI/1.1 SERVER_PROTOCOL: HTTP/1.1 REQUEST_METHOD: GET QUERY_STRING: extended REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_NAME: /perch/core/settings/diagnostics/index.php PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1454944159.15 REQUEST_TIME: 1454944159 argc: 1

My form:

<perch:form id="enquiry" method="post" app="perch_forms" class="enquiry-form">
    <fieldset class="honey">
        <perch:input type="text" id="full-name" antispam="honeypot" />
    </fieldset>
    <fieldset class="text--list--one">
        <perch:label for="name">Your Name</perch:label>
        <perch:input type="text" name="Name" id="name" placeholder="Your name" required="true" />
        <perch:error for="name" type="required">Please add a your name</perch:error>
    </fieldset>

    <fieldset class="text--list--two">
        <perch:label for="email">Email Address</perch:label>
        <perch:input type="email" name="Email" id="email" placeholder="Your email address" required="true" />

        <perch:error for="email" type="required">Please add a your email address</perch:error>
        <perch:error for="email" type="format">Please check a your email address</perch:error>
    </fieldset>

    <fieldset class="text--list--one">
        <perch:label for="company">Company</perch:label>
        <perch:input type="text" name="Company" id="company" placeholder="Company name" />
    </fieldset>

    <fieldset class="text--list--two">
        <perch:label for="phone">Contact No.</perch:label>
        <perch:input type="tel" name="Phone" id="phone" placeholder="Your phone number" required="true" />
        <perch:error for="phone" type="required">Please add a contact phone number</perch:error>
    </fieldset>

    <legend class="text">
        <h3>Budget & Timescales</h3>
    </legend>

    <fieldset class="text  radio-group">
        <div class="label">Looking to start:</div>

        <perch:input type="radio" id="start" name="Start" options="&lt; 2 weeks, 1-2 months, &lt; 6 months" wrap="div" required="true" />
    </fieldset>

    <fieldset class="text  radio-group">
        <div class="label">Have a launch date?</div>

        <perch:input type="radio" id="launch" name="Launch" options="&lt; 1 month, 1-3 months, &gt; 6 months" wrap="div" required="true" />
    </fieldset>

    <fieldset class="text  radio-group">
        <div class="label">What's your budget?</div>

        <perch:input type="radio" id="budget" name="Budget" options="< &pound;4k, &pound;4k-&pound;8k, &pound;8k-&pound;15k, &pound;15k +" wrap="div" required="true" />
    </fieldset>

    <legend class="text">
        <h3>The Project</h3>
    </legend>

    <fieldset class="text  radio-group">
        <div class="label">New website or redesign?</div>

        <perch:input type="radio" id="website" name="Website" options="New Site, Redesign" wrap="div" />
    </fieldset>

    <fieldset class="text">
        <perch:label for="url">Redesign? What's the URL?</perch:label>
        <perch:input type="url" name="Url" id="url" placeholder="Include https://" />
    </fieldset>

    <fieldset class="text  radio-group">
        <div class="label">Need ecommerce or payments?</div>

        <perch:input type="radio" id="ecommerce" name="Ecommerce" options="Yes, No" wrap="div" />
    </fieldset>

    <fieldset class="text">
        <perch:label for="details">It would be great if you could supply some more detail</perch:label>
        <perch:input type="textarea" name="Details" id="details" placeholder="Feel free to add as much detail as you can. It's good to get an idea of your services / product, and if you have any specific goals or requirements."/>
    </fieldset> 

    <fieldset class="text  center">
        <span class="btn"><perch:input type="submit" id="submit" value="Send Enquiry" /></span>
    </fieldset>

    <perch:success>
        <section class="text">
            <h4 class="center"><perch:content id="success" type="textarea" label="Thanks message" markdown="true" editor="markitup" /></h4>
        </section>
        <script type="text/javascript">
        window.location = '/thanks';
        </script>
    </perch:success>
</perch:form>
Richard Wiggins

Richard Wiggins 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

So such problems here with any of our forms or testing with your form.

Could your browser be autocompleting the honeypot field? Maybe remove it and try without.

Very good point, I'll take a look.

#facepalm Yep, that was it! I just filled it in manually and it saved fine.

Thanks Drew and apologies for the hassle.

Drew McLellan

Drew McLellan 2638 points
Perch Support

No problem!

Drew McLellan said:

So such problems here with any of our forms or testing with your form.

Could your browser be autocompleting the honeypot field? Maybe remove it and try without.

I would have never guessed this to be the problem... something to remember for sure. While I do not use auto complete on any of my browsers I do know some of my clients do and this would be a possable trouble maker.

:)