Tutorials
|
Nov 13, 2015

How to design a natural-language form in Webflow

Learn to build webforms that speak your users' language.
Earlier this week, we featured some beautiful form design patterns and got a lot of requests to demo the natural-language form. So I decided to put together a quick how-to so you can build one for your own Webflow site in no time.

Follow the steps below, and check out the final design in Webflow here.

Step 1: Add the form element to the page

First, add the form element to your canvas. Simply drag the Form Block element from the Add panel into the space you want it on the site.

Adding the form block element to the canvas
Just drag and drop the Form Block element on to the canvas.

Step 2: Add classes and style

Now we need to add classes to the individual form elements so we can style it them.

Then create and style as noted below.

I’m going to add a class to the field label and give it these styles:

Class Name: Field Label

Display: Inline

Font Family: Lato

Font Weight: 300 - Light

Font Size: 40px

Line Height: 40px

Note that you can adjust the visual styles all you like, but the display setting is key to the functionality here.

I’ll also add a class to the text field, and style it like so:

Class Name: Text Field

Display: Inline

Width: 240px

Height: 50px

Font Family: Lato

Font Weight: 300 - Light

Font Size: 40px

Line Height: 40px

Bottom Border: 2px #adadad

Opacity: 50%

Step 3: Add more field labels and text fields

We now have one field label and one form field (I deleted the extras to clean things up a little). Now I’ll simply copy and paste more fields using Command/Control+ C and Command/Control+V. For this example, I need five form fields.

Now, copy and paste form fields till have all the inputs you need.

Step 4: Tweak the form fields' widths

Because each of the form fields asks for a different piece of information, we can adjust the width to better match the content. For example, it doesn’t make sense for the age field (which will most likely have only two characters), be as long as the name field (which will have many).

To account for that, I’ll add another class to each field so I can adjust the widths accordingly.

Adjust the widths of the text fields as needed. 

Step 5: Design the success message

The form is ready to go! But we want our users to experience a pleasant success message once they’ve completed it. To design this, just click on the form to select it, and open the Settings Panel.

Click the Success button to see the form in its Success state.

Finally, style your success message. Because success messages are warm and fuzzy.

Any styles and classes we add here will only show up when the user submits the form. Here are the styles I used:

Class Name: Success Message

Background Color: #1ab07a

Padding Top & Bottom: 50px

Class Name: Success Text

Color: #ffffff

Font Size: 34px

Line Height: 50px

Now go build your own natural-language form

Of course, this is just one way to create a natural language form in Webflow. If you had trouble following the above steps, you can inspect the natural-language form in Webflow.

Do you have a unique form that you’ve created in Webflow? Share it with us (and the rest of the community)!

Get our top web design content in your inbox
Just like over 500,000 other designers.

Thanks! Check your inbox to confirm your subscription.

Oops! Something went wrong while submitting the form

We hate spam just as much as you do.
Mat Vogels

Mat is a web creator and evangelist at Webflow. Follow me at @matvogels.

What's Webflow?

It’s a web design tool, CMS, and hosting platform in one.

Thank you! Your submission has been received!

Oops! Something went wrong while submitting the form

Related Articles
Design process
Mar 16, 2017
Optimize your web design process with rapid prototyping and project management in Webflow
Find out how web design agency SWEOR uses Webflow's prototyping and project management capabilities to make the design process faster and easier for all.
Design process
Mar 13, 2017
The web design process in 7 simple steps
Find out how following a structured web design process can help you deliver more successful websites faster and more efficiently.
Announcements
Feb 17, 2017
New feature: Global swatches
Change a color in one place, watch it update across your whole site. Now possible in Webflow with global swatches.
Get our top web design content in your inbox
Just like over 500,000 other designers.

Thanks! Check your inbox to confirm your subscription.

Oops! Something went wrong while submitting the form

We hate spam just as much as you do.