@factor/plugin-contact-form

1.8.28 • Public • Published

Overview

This plugin makes it easy to add a contact form. It can be easily customized via factor-settings.js and/or you can use its filters to connect new signups with external services.

Installation

Just add to your application dependencies:

npm add  @factor/plugin-contact-form

Options and Settings

The customization system for this plugin is based on the standard factor-settings.js API that is provided by Factor.

Changing Defaults

To start customization, add a key of contactForm to the settings file in your app. All you need to do is add your settings in the place of the default ones.

To customize defaults, you can

// app factor-settings.js
export default {
  contactForm: {
    submit: {
      text: "my text",
    },
  },
}

Factor Setup CLI

Run npx factor setup for a question based CLI to help you configure this plugin's options.

Package Sidebar

Install

npm i @factor/plugin-contact-form

Weekly Downloads

8

Version

1.8.28

License

MIT

Unpacked Size

590 kB

Total Files

16

Last publish

Collaborators

  • raylopezaleman
  • arpowers