System:Form:getCurrentValue

From Aspen Documentation

Returns the current value for a field. A shorter alias for this function is the cv function.

Since 1.0

Arguments

mixed getCurrentValue (string $field, [boolean $escape = false])

field
The field name.
escape
Whether or not to escape the data for database queries.

Returns

Returns mixed - whatever the assigned value of the field is.

Examples

Example:

$this->APP->form->getCurrentValue('author_id');