Webform spam is a common problem online. It happens when spam programs, also known as “bots,” or actual humans flood webforms with unwanted submissions. To combat the human spam, we suggest adding a simple question to your form that most people would be able to answer easily. This presents enough of a challenge for human spammers and shouldn’t cause barriers to submission from the people you want interacting with your forms.
Follow these steps to add a simple question to your form and then create “conditional logic” for your submit button so that it only appears once they’ve answered the question correctly.
Step 1 – Create your question field
- Add a Single Line Text field to the bottom of your form.
- In the label field, type in a simple to answer question. In the example below, we chose the question, “What is the opposite of up?”
- Mark the field as “Required”, so that it must be answered in order to submit the form.
Step 2 – Add Conditional Logic to the Submit button
- In the center of the screen, while editing the form, click on the Submit button, which should cause its settings to appear in the righthand panel.
- In the settings, toggle on the conditional logic option, then click on the Gear icon.
- Setup the conditional logic to “Show this form button if all of the following match.”
- Select the question in the first drop down, then enter in the answer and consider using only lower case letters if possible.
- Save your form and test your submit button!