Form Validations Flashcards
What is the purpose of form validations in OutSystems?
A) To limit user input fields
B) To prevent users from submitting any data
C) To reduce user mistakes when submitting data to the database
D) To increase the number of input fields on a form
C
What do built-in validations in OutSystems not require?
A) Custom logic implementation
B) Input Type property setup
C) Mandatory property setup
D) Data submission to the database
A
What are the two types of built-in validations available in OutSystems?
A) Numeric and string validations
B) Mandatory fields and data type compliance
C) Form-level and input-level validations
D) Button click and link click validations
B
The Input Type property of an input field should have:
A) A different data type than the variable bound to the widget
B) The same data type as the variable bound to the widget
C) A data type set automatically
D) No specific data type
B
What do custom validations in OutSystems allow developers to do?
A) Skip form validations
B) Create specific validations beyond built-in ones
C) Automatically trigger data submission
D) Limit the number of input fields in a form
B
How do we enable built-in validations for a form submission button or link?
A) By enabling a validation module
B) By setting the Built-in Validations property of the button/link to Yes
C) By creating a custom validation
D) By clicking the form
B
Which two properties are important for implementing custom validations on an input field?
A) Input Type and Mandatory
B) Valid and ValidationMessage
C) Submit and Cancel
D) Required and Optional
B
What does the Valid property of an input field indicate?
A) Whether the field is mandatory
B) Whether the field is valid or not
C) The length of input data
D) The type of input data
B
What should a validation message explain?
A) Why the input is valid
B) The size of the input data
C) Why the input is invalid and how to fix it
D) How to disable the validation
C
How can custom validations be implemented in OutSystems?
A) By setting a property in the input field
B) By using an If condition that verifies if the input field has a valid value
C) By clicking the form submit button
D) By disabling built-in validations
B
What does the Valid property of a form indicate?
A) If all input fields in the form are valid
B) If a specific input field is valid
C) The data type of the form fields
D) The number of input fields in the form
A
When does the Valid property of the form become False?
A) When all input fields are valid
B) When any input field in the form is not valid
C) When the form has no input fields
D) When the form is submitted
B
Can the Valid property of the form be explicitly changed in the logic?
A) Yes, it can be set by the developer
B) No, it is automatically managed by the platform
C) Yes, but only when using built-in validations
D) No, it can only be set during submission
B
What happens if a form is not valid after performing all custom validations?
A) The form submission is ignored
B) The user is redirected to another screen
C) The flow ends without executing the happy path
D) The form proceeds to the next validation
C
Why is it important to validate the form after all custom validations?
A) To ensure data is stored regardless of errors
B) To prevent multiple validation failures from appearing at once
C) To ensure the form is valid before executing the happy path and storing data in the database
D) To remove the need for built-in validations
C