ASSOCIATE-REACTIVE-DEVELOPER practice question 18 of 35

The Form widget only allows Input and Label widgets

Full set: 262 questions
Answer options
A: TRUE Correct answer
B: FALSE
Correct Answer:
F; A. TRUE; L; S; E
Explanation

The statement is incorrect. The OutSystems Form widget is a container designed to group multiple input widgets to perform validation on all of them simultaneously. While it commonly contains Input and Label widgets, it is not restricted to them. A Form can hold a wide variety of other widgets, including but not limited to Checkbox, Dropdown, TextArea, DatePicker, Button, and even structural widgets like Containers and If statements. The key function of the Form is to validate all the input widgets placed within it that have validation properties (e.g., Mandatory).

Why Incorrect

The statement "True" is incorrect because it imposes a false limitation on the Form widget. The widget's purpose is to group and validate a collection of user inputs, which can be of many different types, not just the standard text Input widget.

References

1. OutSystems Official Documentation, "Form widget": The documentation describes the Form widget as "a container for input widgets that you can use to validate the data of all the inputs at once." The use of the general term "input widgets" (plural) indicates that it is not limited to a single type of widget.

Source: OutSystems Documentation. Retrieved from https://success.outsystems.com/documentation/11/developinganapplication/designui/patterns/usingtraditionalwebpatterns/form/formwidget/ (Note: While this link is for Traditional Web, the principle and implementation for Reactive are identical in this context, as confirmed in the Reactive documentation below).

2. OutSystems Official Documentation, "Use form validations" (Reactive Web): This official guide provides a step-by-step tutorial for creating and validating a Reactive form. The example form created in the tutorial explicitly contains Input widgets, a Dropdown widget, and Button widgets, all nested within a single Form widget. This directly contradicts the claim that only Input and Label widgets are allowed.

Source: OutSystems Documentation, "Use form validations". See section "Create a form to add new employees". Retrieved from https://success.outsystems.com/documentation/11/developinganapplication/designui/forms/useformvalidations/

3. OutSystems Guided Path, "Reactive Web Developer", "Validating Form Fields" Module: In this official training module, developers are instructed to build a form for creating a new movie. The form includes multiple Input widgets, a Dropdown widget for selecting a genre, and a DatePicker widget. All of these are placed inside the Form widget for validation.

Source: OutSystems Training Portal, "Becoming a Reactive Web Developer" Guided Path, "Forms" section, "Validating Form Fields" exercise.

Scroll to Top