Reset State Action for Modals

Business Background

When you have a long form that users must complete, it is convenient to clear the form in an easy way.

Titan Solution

You can now reset state actions for modal content, so input fields will be cleared or returned to the default using Titan Web.

How to Video

  • Coming soon!

How to Guide

  1. Click the expand (+) icon next to the settings icon in Titan Web. A list of elements will show.
  2. Select the Container option from the list.
  3. Select and drag the Modal element to the canvas.
  4. Under Button, select 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?