What should be the answer of this question, according to outsystem
As I am little bit confused in Option C and Option D
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.
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.
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).
Option A is correct
Please refer Outsystems Training/Form validations/Quiz