customCellEnterPre

Description

Use customCellEnterPre to change the behavior when users click in cells, before default Planning logic runs. For example, when users click in cells, a message can indicate the acceptable range of values to enter. When users click in certain types of cells, such as accounts, a message can prompt users to enter supporting detail.

After customCellEnterPre runs, if it returns True, the default Planning logic runs. If it returns False, no additional logic follows the custom code. SampleValidateData.js includes an example that displays a message prompting users to enter supporting detail when clicking in certain cells.

Arguments

Argument

Description

Row

An integer that defines the row for the cell.

Col

An integer that defines the column for the cell.

Cell

A handle for the HTML input artifact.

Returns

Return Value

Description

True

The Planning default logic runs after this code completes.

False

No further logic (Planning default logic or customCellEnterPost) runs after this completes.

See Also

customCellEnterPost