Choose where you’d like to start

SelectAll | DeselectAll

Table of Contents

Note:

  • This task is applicable only to Zoho Creator.

Overview

The selectAll deluge task preselects all choices in a specified multi-select or a lookup field(multi select or checkbox display).

The deselectAll deluge task deselects all choices(previously selected) in a specified multi-select or a lookup field(multi select or checkbox display).

Syntax

To select all choices

<field_link_name>.selectAll;

To deselect all selected choices

<field_link_name>.deselectAll;
ParameterDescription
<field_link_name>

Link name of the field in which all the choices need to be selected or deselected.

Only the following field types can be specified:

  • Multi Select
  • Checkbox
  • Lookup (Display type - Multi Select or Checkbox)

This task can be used in the following events

When a record is Created
On LoadYes
On ValidateNo
On SuccessNo
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Created or Edited
On LoadYes
On ValidateNo
On SuccessNo
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Edited
On LoadYes
On ValidateNo
On SuccessNo
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Deleted
On ValidateNo
On SuccessNo
Other workflow events
On a scheduled dateNo
During approval processNo
During payment processNo
In a Custom FunctionNo
In an Action item in reportNo

Examples

1) In the following example, if the "Register all" decision box is checked, all the choices(games) present in the "Games" multi-select field will be selected.

if(Register_all)
{
Games.selectall();
}

2) In the following example, if the "Reset selection" decision box is checked, all the choices(games) present in the "Games" multi-select field will be deselected.

if(Reset_selection)
{
Games.deselectall();
}

Get Started Now

Execute