Reset State Action for Modals

Business Background

When you have a long form that users must complete, it is convenient to clear the form easily.

Titan Solution

Using Titan Web, you can now reset state actions for modal content so that input fields are cleared or returned to the default.

How to Guide

  1. Click the icon to open the list of elements.
  2. Select the Container option from the list.
  3. Click-and-drag the Modal element to the canvas.
  4. Under Button, click-and-drag a button element to the modal.
  5. Click the On Click Action icon.
On Click Action icon
On Click Action icon
  1. Click the + icon. The Add Node screen opens.
Action Flow screen
Action Flow screen
  1. Under the Layout Actions tab, select the Drawer/Modal option.
  2. Click the Next button. The Add Node/Drawer/Modal screen opens.
Drawer/Modal option
Drawer/Modal option
  1. Select the Modal option.
  2. Select the modal from the drop-down list.
  3. Click the Reset State radio button and click the Next button.
Reset State option
Reset State option
  1. Add a tag, if necessary, and click the Insert button.

The action will be applied to the modal, and the content typed into it will be reset every time the button is clicked.

Learn more about Titan’s native integration with the Salesforce Experience Cloud.

Easily design, deploy, and measure custom web applications directly from Salesforce using Titan’s drag-and-drop web page builder.

Hidden Title

Need more help?

Titan logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.