29
Views
4
Comments
Solved
Form Validation
Question

What should be the answer of this question, according to outsystem 

As I am little bit confused in Option C and Option D

2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

On the official quiz, the right answer is actually A.

Only after all validations (built-in + custom) are done should you check Form.Valid to decide whether to continue. That’s why in the official test, A is considered correct: you should check it after the last custom validation, otherwise you might allow bad data through.

C is actually wrong because of the wording, because the platform doesn’t check it before executing your logic, it just updates it .

My bad for confusing you with the initial post. 

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Satyam Mishra ,

Right answer is C.

You don’t need to set it explicitly (which makes B incorrect). 

Even if just one field fails validation, Form.Valid becomes False, so D is misleading.

What actually happens is that when built-in validations are triggered, the Valid property is updated automatically before the client action logic runs, and that’s exactly what C states.

2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

On the official quiz, the right answer is actually A.

Only after all validations (built-in + custom) are done should you check Form.Valid to decide whether to continue. That’s why in the official test, A is considered correct: you should check it after the last custom validation, otherwise you might allow bad data through.

C is actually wrong because of the wording, because the platform doesn’t check it before executing your logic, it just updates it .

My bad for confusing you with the initial post. 

2025-08-07 06-30-56
Amit J
Champion

 This is a common exam trap.

  • The Form.Valid property is automatically set based on the built-in validations of the input widgets inside the Form.

  • You don’t need to manually set it. If any input fails validation, Form.Valid becomes False. It is not limited to “all inputs invalid” — even one invalid input sets the form to invalid.

  • You typically check Form.Valid in your logic before saving data.

So:

  • Option C is correct (because OutSystems evaluates the Valid property automatically before executing client actions).

  • Option D is incorrect (it says “when all input fields are not valid,” which is wrong — just one invalid input is enough to make Form.Valid = False).

2025-06-14 17-35-07
Atul Rajak

Option A is correct

Please refer Outsystems Training/Form validations/Quiz

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.