Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates that the user entered values meet all necessary criteria.
Syntax
public boolean validate([Object _calledFrom])
Run On
Client
Parameters
- _calledFrom
Type: Object Class
The object that is calling the validate method.
Return Value
Type: boolean
true if the user entered values meet all necessary criteria; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Warning | Either the From date or the To date field has not been filled in. |
Error | The From date is later than the To date. -or- The agent tax exempt number is more than 15 characters. |