Client Survey
| Id | Name (Link) | Surname | Marital Status | Have Kids | Mobile | CreatedBy | Last Updated On |
|---|
1
2
3
...
Requirement: Form and DB Operation 5 - Search Feature
This exercise focuses on implementing a functional client-side search/filter on the main list screen, improving user experience for finding specific records.
List Screen Updates (Search Feature):
- Introduce a text input field and associated buttons in the Action Area, positioned to the left of the "Add Survey" button.
- The search field placeholder should be: "Search by Name, Surname, or Email".
- The search functionality must be triggered by clicking the Binocular icon (🔍).
- Filtering Logic: When the search button is clicked with text present, the table should be dynamically filtered to show only records where Name, Surname, or Email contains the search text (case-insensitive).
- Reset Logic: The search should be reset (showing all data) in two ways:
- Clicking the 'X' icon next to the search bar.
- Clicking the Binocular icon when the search field is empty.
Hint (OutSystems): The search logic is implemented using a Text Input Widget bound to a local variable. The search button triggers an Action that re-fetches the data or adjusts the Aggregate/Data Action filter based on the local variable's value.
Practice with Ankit | Form and DB Operation 5