(function openLouie() { let louie = document.getElementById("Dropdown-Toggle-14"); louie.classList = "host-toggle w-dropdown-toggle w--open"; console.log(louie); })();
IfThenElse

The user first determines an action result, selects Is Equal To, Is Not Equal To, Is Empty or Is Not Empty in the select input below this action result, and checks whether it is equal or not empty, depending on the result of this condition. If true, action(s) added to If Actions with Add If button, if false, action(s) added to Else Actions with Add Else button are executed. While defining an action inside the if or else condition, another if can be defined within these conditions by adding the IfThenElse action.

For example, if the ReadFromLocalStorage action and the Is Not Empty condition are selected as the condition of this action, the action specified in the if block is executed if the desired key value is found in the local storage, depending on this condition. If the desired key value does not exist in the local storage, the action specified in the else is executed by entering the else block.

Select the element to add action. Choose Condition > IfThenElse from the Properties panel Add action menu.

  • ActionResult: The action to be specified for the desired condition is selected.The condition is determined by the.
  • Select Input: Is Equal To, Is Not Equal To, Is Empty or Is Not Empty options.
  • If Actions: If the condition is true, the action(s) to be executed are selected.
  • Else Actions: If the condition is false, the action(s) to be executed are selected.

The IfThenElse action is accessible to all users logged into the platform.

Simplicity Meets High Performance

Free edition subscription
Keep your work
No credit card required to try