Skip to main content

📝 Forms

Gleap forms are a traditional, straightforward approach for user data input. They offer a simple, efficient method for users to provide specific information or feedback. Forms are particularly useful when detailed user input is essential, allowing for a clear, direct way of data collection without the dynamic steps involved in workflows. This makes forms a reliable option for scenarios where straightforward, user-provided data is key.

If you want to manually show a form, simply call one of the following methods.

Bug reporting form

The bug reporting form is the default form for bug reports and allows users to mark bugs and add a description as well as their email address.

// Starts a classic bug reporting form.
Gleap.startClassicForm("bugreporting", showBackButton: true);

The first parameter determines the flow that should be started. The second parameter allows you to pass the showBackButton form option.

Feature request form

This form is great if you want to collect feature requests. You can also embed your Gleap roadmap and share it with your users to have them vote on requests.

// Starts a classic feature request form.
Gleap.startClassicForm("featurerequests", showBackButton: true);

Custom forms

Gleap also allows you to configure custom forms. This is especially handy if our default forms don't fully cover your use cases. Visit our dashboard for more information on custom forms.

Classic forms

// Starts a classic form with the CUSTOM_FORM_KEY as key.
Gleap.startClassicForm("CUSTOM_FORM_KEY", showBackButton: true);