Prefill Form Fields

Make it easier for your users to submit feedback by pre-filling key fields. This feature streamlines the feedback process and enhances user convenience. Looking to take it a step further? Explore User Identification for advanced user identification.

📘

Before you start

The Userback widget must be installed on your website. See the Widget Installation Guide if you haven't done this yet.


Basic usage

You can pre-fill feedback form fields like email, name, categories, and priority.

Userback.email = '[email protected]'; 
Userback.name = 'Jane Doe';
Userback.categories = "Frontend";
Userback.priority = "urgent"; // Options: low, neutral, high, urgent

Common use cases

1. User emails

Automatically populate the email field:

Userback.email = '[email protected]';

2. User names

Pre-fill the user's name for a seamless experience:

Userback.name = 'Jane Doe';

3. Feedback categories

Set default categories to guide feedback, like "Frontend" or "UI":

Userback.categories = 'UI';

4. Priorities

Automatically assign feedback priority (e.g., urgent):

Userback.priority = 'urgent';

Need help? Visit the Help Center or use the chat bubble on this page to contact our support team.