Logo Practice with Ankit | Client Survey

Client Survey

Id Client Name Client Surname Mobile Email Action
Requirement: Form and DB Operation 1 - Add Survey

This exercise focuses on implementing the complete Create (Add) operation using an OutSystems form and linking it to a database entity. The primary goal is to ensure the form correctly handles both mandatory and non-mandatory fields, leveraging the platform's built-in validation features.

Database Entity Setup:

  • User Input Fields: ClientName (Mandatory), ClientSurname (Mandatory), Mobile (Mandatory), Email (Mandatory), Address (Non Mandatory), ProfilePicture (Non Mandatory).
  • System Fields (Do NOT display in UI): Id (Auto-Number), RecordCreatedBy, RecordCreatedOn, RecordUpdatedBy, RecordUpdatedOn, IsActive (Boolean).

Screen Implementation Steps:

  1. Create the Client Survey Screen to display the list of existing records with pagination.
  2. Add an "Add Survey" button in the action area.
  3. Create the Add Survey Screen/Modal that opens upon clicking the button. This screen must contain the input form.
  4. Use the OutSystems Form Widget to build the input interface for the 6 user-input fields.
  5. Implement the logic to Save the new record. The form must prevent saving if any of the Mandatory fields are empty.

Hint (OutSystems): Use a Form Widget bound to a new local variable of the *ClientSurvey* entity record type. This simplifies state management and enables built-in validation for the mandatory attributes.

Ankit G Avatar
About the Author: Ankit Gangrade

Ankit Gangrade is a passionate Low-Code Architect, Developer, & Educator dedicated to helping students and professionals build modern applications faster using OutSystems and Cloud-Native technologies. His goal is to bridge the gap between traditional coding and modern low-code platforms — empowering the next generation of developers to build smart, scalable, and cloud-ready apps.