Feature Highlight: Allow Users to Add New Options in Forms

11/17/2017 Posted by Ranasha

In Knack, adding a multiple choice or connection field to your object is a great way to categorize or connect your data. Users can choose from a dropdown menu of options and associate the record with a category or record in a connected object.  

For example, consider the following example.

HowDidYouHearUs-1


Multiple choice and connection fields make it possible for you to offer several options to the user.  However, in some cases, the correct response is not always available. How can users add another option without needing to access the builder?  

Well, it just so happens we have a solution for allowing users, in the live app, to add new options from within the form!

AddNewOption-2

How to allow users to add new options in forms

  • Head to the Pages tab of the Builder
  • Find the page where your form view is located
  • Click on the gear icon to open up the view's options

2017-11-14_06-15-10resize40

  • Find the field you want to enable the feature on and hover your cursor over it
  • Click the gear icon to open up the field settings

In the screenshot below, you can enable this feature on both multiple choice fields and connection fields.

2017-11-14_06-16-21resize40

  • Next to Custom Options, check the box to allow users to add new options

Enabling this feature on a multiple choice field will add a new option.

2017-11-14_06-19-28resize40

Enabling this feature on a connection field will add a new record to the connected object.

2017-10-25_20-11-16resize40

Once enabled, app users can now add new options by clicking on the “Add new option link”.

NewAddOptionLink
When a user clicks on the “Add a new option” link, a modal popup of the form will open.  The user can complete the form, click submit and see their new option populated as the selected field value.

Example: Multiple Choice Field

Adding a new multiple choice field option will open up a lightbox with a field to add a new option.

2017-10-26_08-41-13resize40
Success the new option has been added!

GoogleSuccess

Example: Connection Field

Adding a new connected option will open up a child form to add a new record.

2017-10-25_20-44-43resize40

Success the new campaign has been added!

CampaignSuccess

This feature is available with all plans.  If you are interested in linking related data using dynamic drop downs, check out our guide below.