Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Is Validated

Type: core

Class: Validation

Platform: 2v

Function: isValidated

Visibility: public

Parameter: isValidated()

Description:
Checks if all validations passed good or not. Will check in the current instance only.
Return:
bool - True or false.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
example: 1
We want to validate user input from a param we got. User inputed: "I live in Haifa.". Since validation failed on "length" check, that allowing only 5 chars, the result will be empty and it will trigger the an error.
How to call (example):
Code:
Possible outcome (example):
Output:
Info Panel
Roll it!   ⇔