Optimizing Data Filtering in Forms with URL Parameters

Introduction

This guide demonstrates how to utilize the URL Request Parameters for List option in the List Grid or Popup Select Box form elements to refine Lits results based on user selection.

How does it work?

  1. Create a List and set up a filter using the Request Parameter Hash Variable. For this example, the parameter name is group.
  2. Select Advanced Form Data List Data Store to retrieve form data.
    Note: Using the Request Param Hash Variable, you can use other Data Store to configure your filter.
  3. Create your form, incorporate a Popup Select Box and a List Grid. These elements should use the previously created List for the popup selection dialog.
  4. Add a select box with the field ID set to filter. This box will be used to filter List results.
  5. Configure URL Request Parameters for both the Popup Select Box and List Grid; configure the URL Request Parameters for List to retrieve the value from the filter field and pass it as a URL request parameter (named group in this case) when the popup select dialog is opened.
  6. Optionally, set a default value for the parameter when the filter field returns an empty value.
  7. Load your List with appropriate data to test the filtering functionality.

  8. Test the form by selecting Group2 in the select box. This should restrict the popup dialog results only to show entries where group is equal to group2.


Related documentation

To enhance your understanding of the components used in this guide, explore the following key elements:

Download sample app

Download the demo app for Optimizing Data Filtering in Forms with URL Parameters:
Created by Julieth Last modified by Aadrian on Dec 13, 2024