Include an "Other" option for fields
You can add an additional option labeled "Other" to your Dropdown or Radios field. When users select this option, you can display an input field for them to specify their response.
While Freeform fields do not have this functionality built-in, you can achieve a similar effect using the Conditional Rules feature. You can configure it so that when a user selects the "Other" option in the Dropdown/Radios field, an additional field (which is independent of the Dropdown/Radios field) appears for the user to complete.
Instructions
Here's how to do it:
Add an option named Other
to one of your existing Dropdown or Radios fields (this can also apply to other field types as well).
For this example, we'll make it a Radios field and call it Favorite Pie
with a handle of favoritePie
.
Create a new Text field and place it in the field layout close to your Favorite Pie
Radios field (wherever you'd like it to show up).
For this example, we'll call it Provide your own flavor...
with a handle of favoritePieOther
.
You might notice in the screenshot below that a blank HTML field was added at the right as a workaround to have the Other field not take the full width of the form.
In the Conditional Rules tab, follow these steps:
- Click on the
Provide your own flavor...
field on the left column. - Click the Add rules button.
- In the criteria section below, select your
Favorite Pie
field. - For the logic, choose
is equal to
. - Select
Other
for the field option.
Save the form and check it out on the front end: