Client Survey
| Id | Name (Link) | Surname | Marital Status | Mobile | CreatedBy | Last Updated On |
|---|
1
2
3
...
Requirement: Form and DB Operation 3 - Add New Field in Survey
This exercise simulates a change request where a new field, Marital Status, must be introduced and fully integrated into the existing application structure (database, form, and list).
Database Entity Setup:
- Add a new attribute: MaritalStatus (Text) to the database entity. This must be treated as a Mandatory field.
Form Implementation:
- Integrate the new Marital Status field into the reusable Add/Edit Form.
- The field must be presented as a Dropdown widget.
- The dropdown must be pre-populated with the static values: Married, Single, and Separated.
- The field must be included in the form's **Mandatory Validation**.
- Ensure both **Add** and **Edit** functionality correctly save and load the new field's data.
List Screen Update:
- Add a new column, Marital Status, to the main list screen to display the client's status.
Hint (OutSystems): When updating the database entity, a new attribute must be added. For the form, use a Dropdown widget bound to the new attribute, and define its static list of values.
Practice with Ankit | Form and DB Operation 3