Forge Forms - BETA

jamstack

#1

One of the first major features I added to Forge was the ability to have hosted webforms easily created and managed through Forge.

Similar to the services of Formkeep, Forge Forms would be enabled by adding a couple of lines of code to site templates and then Forge handling everything else during the deployment.

Example Usage

html

Template:

<form data-forge-name="YOURFORMNAME">
    <input data-forge-name="YOURFIELDNAME">
</form>

Email Signup Example:

<form data-forge-name="signup">
    <input type="text" data-forge-name="email" placeholder="Enter your email address">
</form>

haml

Template:

%form{:data => { :forge-name => "YOURFORMNAME"}}
    %input{ :data => { :forge-name => "YOURFIELDNAME"}}

Email Signup Example:

%form{:data => { :forge-name => "signup"}}
    %input{ :data => { :forge-name => "email"}, :type => "text", :placeholder => "enter your email address" }

Slim

Template:

form data-forge-name="YOURFORMNAME"
  input data-forge-name="YOURFIELDNAME"

Email Signup Example:

form data-forge-name="signup"
  input data-forge-name="email" type="text" placeholder="enter your email address"

Markdown

Use the raw html method

Form Settings

Submit

What happens after a user submits the form? You have two options.

You can either show a custom alert message after the ajax call is completed, or redirect the user to another page - possibly to thank them and explain what they can expect from you next.

Notifications

You can specify if you’d like to be notified when someone submits a new form, which will contain information from the form submission. It’ll be sent to the account holder.

You can also specify a custom auto-responder message to send to the user who submitted the form.


This is just the start of our Forms feature, I’d love to hear about how you find it.

This is the place to discuss ideas and get help with your Forge Forms, though, check out the very intuitive Forge Forms helper, by clicking the :question: mark icon from the Forge site (there’s generally one of these for every major feature).