@DeleteField (Formula Language)

Deletes the value of an editable field.

Syntax

FIELD fieldName := @DeleteField

Usage

This function works in agent, view action, and toolbar button formulas.

If the field has a default value, the default value is reinstated after this function deletes the current value.

This function is the same as @Unavailable.

Use this function to delete invisible fields from documents, such as fields created using the @SetField function.

Examples

This formula creates a field named NewDate and sets it to today's date, then removes the field named OldDate from the document.
FIELD NewDate:=@Today
FIELD OldDate:=@DeleteField;