Lucy
  • Introduction to Lucy
  • Getting Started
  • Key Components
  • Gallery (Dashboards)
    • Creating a Canvas
    • Editing Properties of a Canvas
    • Searching and Viewing Your Canvases
    • Adding Widgets onto Your Canvas
    • Customising User-created Widgets on a Canvas
    • Adjusting Widget Settings
    • Moving a Widget around a Canvas
    • Resizing a Widget on a Canvas
    • Filtering Data in a Widget
    • Deleting a Widget from Your Canvas
    • Building a Widget from Your Canvas
    • Customising a Canvas
  • My Work (Folders)
    • Creating a New Folder
    • Searching and Viewing Your Folders
    • Adding Notes related to a Folder
    • Databases
      • Understanding Databases
      • Creating and Editing Databases
        • Creating a Database Manually
        • Creating a Database by Importing Data from an External Source
        • Using an External Source as a Database
        • Editing Fields in a Database
      • Editing Data in a Database
      • Using the Database Collection Viewer
      • Searching, Filtering, and Sorting Data in a Database
      • Exporting Data from a Database
      • Utilising Content-aware Autofill to Automatically Fill in Fields in Your Database
      • Entering a Question about Databases within a Folder to Build Your Own Widget
      • Adding Data into a Database
    • User Interfaces
      • Designing a User Interface
        • Designing a User Interface to Visualise Information
        • Designing a User Interface to Capture User Feedback
        • Designing a User Interface from Scratch
      • Working with the Widget Designer
      • Selecting a Widget Template
        • Item List Widget Template
      • Viewing Your User Interfaces
      • Sharing a User Interface
      • Saving a Widget as a Template
      • Exporting a User Interface
      • Enabling Anonymous Access to a User Interface
    • Workflows and Integrations
      • Using the Workflow Editor
      • Creating Workflows
      • Creating a Workflow to Run When New Data is Added to a Database
      • Creating a Workflow to Run When an Email is Received
      • Creating a Workflow to Run When a Message from a Chatbot is Received
      • Creating a Workflow that Runs at Specified Intervals
      • Viewing and Editing Your Workflows
      • Automating Form Submission with Email Notification
      • Automating Form Submission with Slack Message
  • Add-ons
    • Installing a New Add-on in Lucy
    • Visitor Management
    • Monitoring Internal Air Quality (IAQ) at Your Workplace
    • Setting up Occupancy Analytics at Your Workplace
    • Energy Budgeting
    • Water Budgeting
    • Gas Budgeting
    • Carbon Footprint Calculation
    • Weather
  • Mobile App
    • Getting Started
    • Designing Your Mobile App
      • Working with the Mobile App Designer
      • Handling Button Click Events
      • Designing the Login Page
      • Designing the Homepage
      • Designing the Settings Page
      • Choosing a Page Type
      • Adding a New Tab to the Bottom Navigation Bar
      • Launching a Widget on Tab Click
  • Users
    • Registering a User
    • Creating a User Group
    • Searching and Viewing Users
    • Editing User Details
    • Your Profile
  • News Feeds
    • Creating a News Feed
    • Searching and Viewing News Feeds
    • Editing a News Feed
Powered by GitBook
On this page
  • Creating a User Interface to Capture User Feedback
  • 1. Creating a Database
  • 2. Creating a Form from the Database
  • 3. Using Widget Designer to Customise the Form
  • 4. Using Widget Designer to Customise the Thank you Screen
  • 5. Previewing the Form
  • 6. Saving the Form
  • 7. Sharing the Form with Others
  1. My Work (Folders)
  2. User Interfaces
  3. Designing a User Interface

Designing a User Interface to Capture User Feedback

PreviousDesigning a User Interface to Visualise InformationNextDesigning a User Interface from Scratch

Last updated 6 months ago

This article shows how to design a form to capture user feedback using an existing database.

The purpose of these forms is to simplify data collection, streamline processes, and enhance communication between users and organizations. By capturing and storing data in a database, businesses and organizations can better manage and utilise the information for diverse purposes, including providing services, making informed decisions, and improving user experiences. For instance, consider feedback forms.

Tip: When creating a form to capture information, you can always start from scratch, yet it is generally advisable to start creating a form from a database.

Creating a User Interface to Capture User Feedback

The process of creating a user interface to capture user feedback involves four main steps.

1. Creating a Database

As the initial step, you should have a database in place before creating a form.

Below is an image showing a database (e.g., Complaints) created to record complaints raised by customers.

For detailed instructions on creating a new database, refer to the article below for further insights.

2. Creating a Form from the Database

Follow the below steps to design a form from a database.

  1. On the Lucy app homepage, go to the My Work tab on the left sidebar.

  2. Search and click on the folder you want to open.

  3. Go to the Databases tab.

  4. Search and select the desired database.

  5. Hover over the database click the Edit icon that displays.

  6. Click Create a form to open the form on the widget designer page.

  7. By default, the widget designer will be opened in its Design mode.

  8. You can do required customisation to the form in the Design mode.

Tip: Once you open the widget designer, its default mode will be the Design Mode (design mode will be selected).

There are two modes in a widget designer page:

  1. Design mode - Used to design, edit, and customise the widget

  2. Preview mode - Used to view a live version of the widget

3. Using Widget Designer to Customise the Form

The Widget Designer offers a user-friendly interface for creating and customising your widgets. This functionality empowers users to tailor the appearance, behavior, and content of their widgets to meet specific needs.

To customise the form's appearance, including elements such as the header, body, or individual items/fields within the body, simply click on the desired section. This action opens the Properties panel, allowing you to make adjustments like changing the header background.

In the Widget Designer's Design mode, you can make several basic modifications to the form, such as:

Adding a Background Colour/Image

To add a background colour to the form header/body:

  1. In the Design mode of the widget designer, click on a specific section, for example, the form's header section.

  2. The Properties panel will be opened on the right.

  3. Head to Container section and pick a Background Colour. The selected background colour will be applied to the form's header.

  4. Instead, you can pick a background image if needed.

  5. To add a background image:

    1. Click the Search button of the Background Image field.

    2. It will prompt a image gallery window to select a background image.

    3. Pick a background image from the gallery.

    4. Alternatively, you can upload your own image.

    5. To upload your own image:

      1. Click Upload your image button on the image gallery window.

      2. Drag your image onto the marked area or click on the area to select the image and upload it.

Selecting a Background Image Size

After selecting a background image, you can choose the appropriate size for the header/body sections of the form.

The following are the background image sizes you can select:

  • Original Size - The default size of the background image will be applied to the selected header/ body.

  • Fill Area - The background image will fill the entire area of the header/body.

  • Fit into Area - The entire image will be visible within the header/body without any part being cropped.

To select a background image size:

  1. In the Design mode of the widget designer, click on a specific section, for example, the form's header section.

  2. The Properties panel will be opened on the right.

  3. Under the Container section, pick a suitable Background Size e.g., Fill Area. The selected background size will be applied to the respective section of the form.

Aligning the Background Image

Selecting the alignment of the background image of the form header/body section denotes adjusting the way the background image of the form header/body is placed.

To select the background image alignment:

  1. In the Design mode of the widget designer, click on a specific section, for example, the form's header section.

  2. The Properties panel will be opened on the right.

  3. On the Properties panel, go to the Container section.

  4. In the Background Position True field, you'll find a diagram displaying multiple background image positions represented by circles. Choose an appropriate circle that corresponds to where you'd like to position the background image within the widget's header section.

Setting Header Title Properties

To header title properties:

  1. In the Design mode of the widget designer, click on the form's header section.

  2. The Properties panel will be opened on the right.

  3. On the Properties panel, go to the Title section. Modify the header title and customise header title properties to suit your specific preferences.

    1. To modify the header title, go to the Text field and type in the desired title.

    2. To change the colour of the title, select a colour from the displayed options or choose one from the colour palette.

    3. To change the font size of the header, type in the required size in the Size field.

Setting the Properties of the Form Fields

Users can customise fields of the form as follows:

  1. In the Design mode of the widget designer, click on the form's body section.

  2. Click on the desired field within the body section, and its Properties panel will display on the right.

  3. Adjust the necessary properties of the field accordingly.

To change the position of a field:

  1. In the Design mode of the widget designer, click on the form's body section.

  2. Its Properties panel will be opened.

  3. Within the body section, click on the field you wish to reposition.

  4. Drag the field up or down to the desired location where you'd like it to be within the form's body section.

Note: The position of a field can be changed only within the Body section of the form; in other words, you cannot drag and place it on the Header section.

Adding Fields to the Form

Besides the fields available on the form, users have the flexibility to include additional fields to the form.

To add fields:

  1. In the Design mode of the widget designer, go the the Fields tab on the left.

  2. The fields that capture data of different input types will be listed, such as Drop-down list, checkbox, number input, etc.

  3. Select the desired field (e.g., Dropdown list), and drag and drop it onto the body section of the form.

  4. Provide a Name for the newly added field e.g., Location.

  5. Click Done.

Further, you can customise the properties of each field according to your preference.

Setting properties of a Drop-down List

Users can customise a drop-down list by adding multiple different options to it. You have the choice to add options manually or import options from an external source.

To manually add options to a drop-down list on the form, follow these steps:

  1. In the Design mode of the widget designer, click on the desired drop-down.

  2. On the Properties panel, go to Options section.

  3. Click Add New Option button. A text box will appear, allowing you to enter the name of the new option.

  4. Type in a suitable option name.

  5. Repeat steps 3-4 to add more options to the drop-down.

Setting Internal Values for Options in a Drop-down List

Besides the default label (a name given to identify a option in the list) of a option which is visible to users, you can configure a internal value which is not visible to users for each option in the list. Alternatively, you can set the same label as the internal values.

To set internal values for options:

  1. After adding your options, deselect Use label as value option (By default, this option will be selected).

  2. Upon deselecting the Use label as value option, a text box will be enabled for each option, allowing you to enter the internal value. This internal value is not visible to users.

  3. Enter the internal value for each option.

Delete a Field from the Form

To remove a field from the form:

1. On the widget designer, click on the desired field to delete.

2. Click Delete icon. The field will be removed from the form.

Adding a Background Image to the Entire Page

To add a background to the entire page:

  1. On the widget designer, go to the General tab on the right.

  2. Head to the Share section.

  3. You can select a background image from the gallery or upload a image of your own for the entire page.

  4. To select a background image from the gallery:

    1. Click the Search button of the Page Background Image field.

    2. It will prompt a image gallery window to select a background image.

    3. Pick a background image from the gallery.

    4. Alternatively, you can upload your own image.

    5. To upload your own image:

      1. Click Upload your image button on the gallery.

      2. Drag your image onto the marked area or click on the area to select the image and upload it.

Rearranging the Order of the Fields

Fields in the form can be rearranged by dragging and dropping them to the required position in the form. This allows you to customize the layout and flow of your form to better suit your needs and the user experience.

  1. In the Design mode of the widget designer, select the field to be moved.

  2. Drag and drop the field to the required position in the form.

4. Using Widget Designer to Customise the Thank you Screen

The Thank you screen is displayed after a user submits the respective form. Using the widget designer, you have the capability to customise the appearance of the thank you screen of a form, enabling to see your personalised thank you screen upon submitting the form.

  1. On the widget designer page (Design mode), click the Form toggle button on the bottom bar.

  2. The view will be changed to Thank you screen.

Setting the Thank you Screen's Header Properties

To set the Thank you Screen's Header Properties:

  1. Click on the header section of the Thank You screen. Its Properties panel will be displayed on the right.

  2. Do required changes to the header section from the Properties panel.

Setting the Thank you Screen's Body Properties

  1. Click on the body section of the Thank You screen. Its Properties panel will be displayed on the right.

  2. Do required changes to the body section from the Properties panel.

5. Previewing the Form

Preview mode can be used to view a live preview of the appearance and the behavior of the form.

To preview your form:

  1. On the widget designer page, click Preview button to change the mode to Preview.

  2. The widget will be loaded in the preview mode.

Preview the Form in a New Window

To preview the form in a new window:

  1. On the widget designer page, click the Share button at the top right.

  2. Click Open Page.

  3. Your form will launch a new window.

6. Saving the Form

After you have done required customisations, you can save the form for future reference.

  1. On the widget designer page, click Save Widget.

  2. Enter a Name for the widget (adding a name is mandatory).

    1. Go to General tab and enter the name.

  3. Click Save Widget.

7. Sharing the Form with Others

After creating the form, you can share it with others. To learn more about this, refer to the article linked below.

Here is a short video on how to create a form to populate data in a database.

Creating and Editing Databases
Sharing a User Interface
Adding a Background Colour/Image
Selecting a Background Image Size
Aligning the Background Image
Setting Header Title Properties
Setting the Properties of the Form Fields
Adding Fields to the Form
Adding a Background Image for the Entire Page
Rearranging the Order of the Fields
Example of a database
Widget Designer
Sections in a Form
Adding a Background Colour/Image
Aligning the Background Image
Setting Header Title properties
Setting the Properties of the Form Fields
Setting Options and Internal Values
Thank you screen
Setting the Thank you Screen's Header Properties
Setting the Thank you Screen's Body Properties