You can use Oracle FastFormula to validate user entries into the element input values, and to user tables that you define.
Write and validate the formula.
You must do this before you define the element or table, so that you can select the formula from a list in the Element window or Columns window.
Define the element or table.
Select formula type Element Input Validation or User Table Validation in the Formulas window.
Rules to Observe
There must be one input value, of type text, and it must be called entry_value.
The formula must set and return a local variable giving the status of the validation (success or error). This variable must be called formula_status and have the value 's' (success) or 'e' (error).
Optionally, the formula can also return a text variable giving an explanatory message. The returned message variable must be called formula_message and can contain any text. It can be returned with both successful and unsuccessful statuses.
The formula must not return any other results.
For an element input value validation formula, you must also observe the following rules:
You cannot use the element's other pay and input values in the formula.
You cannot return a value to another pay or input value.
All entry values are stored in the database as text items. Therefore, if you want to validate an entry value as a date or number, you must use Oracle FastFormula's conversion function to convert the text into a date or number type variable. For example:
TO_NUM (entry_value)
TO_DATE(entry_value,'DD-MON-YYYY')