Forum

Thread tagged as: Question, Problem, Configuration

Form app - form auto emails fields not appearing in form options

Hi there,

I have two forms on a recent site where I am trying to setup auto emails, however when I click the dropdown to select the email field, the dropdowns are blank. Any ideas why this would be? I've gone over my code and there is definiately an email field in both.

Might it be the forms are not being picked up properly? It's storing submissions ok.

Mathew Doidge

Mathew Doidge 2 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see:

  • Your Diagnostics Report
  • Your templates

Thanks!

Hi Rachel,

No problems — Report:


Perch: 2.8.18 Production mode: Production (100) Installed apps: content (2.8.18), assets (2.8.18), categories (2.8.18), perch_blog (4.6), perch_forms (1.8.3), perch_mailchimp (2.0.1) DB driver: PDO DB tables: perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_mailchimp_campaigns, perch2_mailchimp_history, perch2_mailchimp_log, perch2_mailchimp_stats, perch2_mailchimp_subscribers, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users Users: 5 App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_mailchimp' ); Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Scheduled tasks for perch_mailchimp: update_list_stats (60 mins) Editor plug-ins: markitup H1: 701c930dc395edf5d77d00a81169b1fb L1: e8a33fd07a9083d02eee139f4060c4ce headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.8.13: done latest_version: 2.8.15 on_sale_version: 2.8.18 perch_blog_update: 5.0 perch_blog_post_url: {postSlug} headerScheme: light perch_blog_slug_format: %Y-%m-%d-{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 perch_mailchimp_secret: 3bf669377707e85b4e5ca2f11ba8701e perch_mailchimp_update: 2.0 perch_mailchimp_api_key: e7f2697348a7c404c69037467f2bb80e-us6 perch_mailchimp_list_id: 18bcada022 perch_mailchimp_campaign_url: /mailchimp/campaign.php?s={campaignSlug} update_2.8.14: done update_2.8.15: done update_2.8.18: done PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: reebokcr_admin PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: reebokcr_db PERCH_DB_PREFIX: perch2_ PERCH_TZ: Europe/London PERCH_EMAIL_FROM: info@reebokcrossfitglevum PERCH_EMAIL_FROM_NAME: Reebok Crossfit Glevum PERCH_LOGINPATH: /perch PERCH_PATH: /home/reebokcr/public_html/perch PERCH_CORE: /home/reebokcr/public_html/perch/core PERCH_RESFILEPATH: /home/reebokcr/public_html/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_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/reebokcr/public_html/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.5.30 Zend: 2.5.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: 5.6.26 MySQL server: 5.6.26-cll-lve Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, cgi-fcgi, PDO, pdo_mysql, fileinfo, intl, tidy, bcmath, Phar, gd, mysql, xmlwriter, sockets, pgsql, json, exif, soap, pdo_pgsql, zip, xmlrpc, mysqli, imap, dom, pdo_sqlite, xmlreader, posix, mcrypt, xsl, mhash, ionCube Loader, Zend OPcache, Zend Guard Loader GD: Yes ImageMagick: No PHP max upload size: 128M PHP max form post size: 128M PHP memory limit: 256M Total max uploadable file size: 128M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes DOCUMENT_ROOT: /home/reebokcr/public_html GATEWAY_INTERFACE: CGI/1.1 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.5 HTTP_CONNECTION: keep-alive HTTP_COOKIE: __utma=8564790.482587726.1437506682.1447192607.1447194996.64; __utmz=8564790.1444592565.42.4.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); cmsa=1; PHPSESSID=b3pkitpip85abf8s7t5m68d4j3; _ga=GA1.2.482587726.1437506682 HTTP_HOST: www.reebokcrossfitglevum.com HTTP_REFERER: https://www.reebokcrossfitglevum.com/perch/core/settings/diagnostics/ HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0 PATH: /bin:/usr/bin QUERY_STRING: extended REDIRECT_STATUS: 200 REMOTE_ADDR: 87.112.157.70 REMOTE_PORT: 55997 REQUEST_METHOD: GET REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_FILENAME: /home/reebokcr/public_html/perch/core/settings/diagnostics/index.php SCRIPT_NAME: /perch/core/settings/diagnostics/index.php SERVER_ADDR: 209.124.66.4 SERVER_ADMIN: webmaster@reebokcrossfitglevum.com SERVER_NAME: www.reebokcrossfitglevum.com SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.1 SERVER_SOFTWARE: Apache UNIQUE_ID: Vl37F9F8QgQABzJpr84AAAHa PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1448999703.1309 REQUEST_TIME: 1448999703

Contact form:

<perch:form id="form_contact" class="glevum-form" action="/contact/" method="post" app="perch_forms" role="form">
    <div class="input">
        <perch:input id="name" type="text" required="true" placeholder="Your Name" label="Name" />
    </div>

    <div class="input">
        <perch:input id="email" type="email" required="true" placeholder="Email" label="Email" />
    </div>

    <div class="input">
        <perch:input id="telephone" type="tel" required="true" placeholder="Telephone" label="Telephone" />
    </div>

    <div class="input">
        <perch:input id="message" type="textarea" required="true" placeholder="Message" label="Message" />
    </div>

    <perch:input type="submit" id="submit" class="btn btn--med btn--darkgrey-hollow" value="Send" />

    <perch:success>
        <div class="alert success">
            <perch:content id="success" type="textarea" label="Thank You Message" textile="true" editor="markitup" />
        </div>
    </perch:success>
</perch:form>

Signup form:

<perch:content id="formheader" type="textarea" textile="true" editor="markitup" label="This is text above the form" help="To be used incase you wish to have a title or text above the signup form." />

<perch:form id="form_signup" class="glevum-form" action="/sign-up/" method="post" app="perch_forms" role="form">
    <div class="input">
        <perch:input id="name" type="text" required="true" placeholder="Name" label="Name" />
    </div>

    <div class="input">
        <perch:input id="email" type="email" required="true" placeholder="Email" label="Email" />
    </div>

    <div class="input">
        <perch:input id="telephone" type="tel" required="true" placeholder="Telephone" label="Telephone" />
    </div>

    <div class="input">
        <perch:input id="fitnesslevel" type="textarea" required="true" placeholder="Describe your current fitness level and frustrations" label="Describe your current fitness level and frustrations" />
    </div>

    <perch:input type="submit" id="submit" class="btn btn--med btn--white-hollow" value="Send" />

    <perch:success>
        <div class="alert success">
            <perch:content id="success" type="textarea" label="Thank You Message" textile="true" editor="markitup" />
        </div>
    </perch:success>
</perch:form>
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you turn on debug, do you get any errors on the form options edit page?

Hey Drew, sorry for the delay.

I'll switch it back on and take a look