This document is for an older version of

Express Forms

.

View latest version →

Express Forms Express Forms for Craft

Config Overrides

Project Config

Express Forms allows you to control/override its settings through Craft's Project Config if you wish. The following is preview of what is currently configurable:

express-forms:
  edition: pro  # You'll get license errors if you don't have a valid Pro license
  enabled: true
  schemaVersion: 1.0.0
  settings:
    name: 'Custom Plugin Name' # Available with Pro edition only
    enhancedUI: '1'
    showErrorLogBanner: '1'
    honeypotEnabled: '1'
    honeypotBehaviour: simulate_success
    honeypotInputName: form_handler
    recaptchaEnabled: '1'
    recaptchaLoadScript: '1'
    recaptchaSiteKey: FAKEdf89g7dgfh0_df87g66gfdg60fdsg6sfh6df
    recaptchaSecretKey: FAKEfd7g6df7g6df08df8f_df87g6df9g6df8g68
    emailNotificationsDirectoryPath: /path/to/my-site/templates/express-forms-demo/_notifications
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Integrations Config

API Integrations for Express Forms are all written to a YAML file named express-forms-integrations.yaml, located in your Craft /config/ directory. This allows you to set up sites quicker or have different configurations for each server environment. You can (and need to for OAuth integrations) continue to configure and set up integrations through the control panel however, and the changes will be updated automatically. Below is an example of what the file contains (depending on which API integrations you have configured, if any):

Solspace\ExpressForms\integrations\types\CampaignMonitor:
  apiKey: FAKE5d566d5gg58765765df97gdsg597
  clientId: FAKE867dfg6gd866756dfg8766759845
Solspace\ExpressForms\integrations\types\ConstantContact:
  apiKey: FAKE6d6s-s4f7-6gs8-a43c-sd59675dh7s5
  secret: FAKE98g7f79Ddsc50Mdsv6
  accessToken: FAKEgs987d92Ggfdds68kjhHK8ze
  refreshToken: FAKE9sf8fgJDfds6f8dsfosDFdf97sdhkvkhslfd3Y
Solspace\ExpressForms\integrations\types\HubSpot:
  apiKey: FAKEfg79-5646-4366-6466-sdf797fg799s
Solspace\ExpressForms\integrations\types\MailChimp:
  apiKey: FAKE8f87og6g67676d8g6ds89g68766d-us14
  doubleOptIn: false
  dataCenter: us14
Solspace\ExpressForms\integrations\types\Salesforce:
  consumerKey: FAKE86GDS8G76D8G69D8F6DS8097GSFD-98G7SD780A6GDF0S89H7F8D9G6FASD08F6ASD78F6F6S8D6FSF65
  consumerSecret: FAKE5DS6GHF89D7DF8ADSFG796DF7H98FDAS98F6ADF7G86FD98GFDG98FD9G8FD
  accessToken: FAKECV6DVFV87BD8977CV0X87V6FD78VVFDSV98DF76SF8A9F7GSDF98G7DF08DG7FDS980G7SFD78G6VD87C6DF087V6FD87V6FD87V6DF8V6V6
  refreshToken: FAKEVYZC8BX7FGX6B087VX6C8B6CXB87XVC6987Z6BV7C6B5CVX76B97B9V6B598CX76BC8VX7B69CX8V7B68C7
  assignOwner: false
  sandboxMode: false
  customUrl: false
  instance: 'https://na129.salesforce.com'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23