ResetField
Deletes the value of the current field and sets the Position attribute of the field to 0,0,0,0.
Syntax
bool ResetField ()Parameters
Smart parameters are supported.Returns
False if not called on the field level. Otherwise, True.Level
Field level.Details
The action does not clear any Alt-Text values that are associated with the bound Field object. That is the responsibility of a ClearAltText action.- Example
ResetField()This action typically belongs to a follow-up Validate rule that deals with a False response to an action such as IsDate() in the previous rule. If the value of the field is not a date (in this example), the ResetField action removes the value that is there.
This action example also sets the Position attribute of the field to 0,0,0,0.