Click Actions

When an Event fires, click the specified element

Use Cases

  • Place on a form submit button to trigger a submit attempt

  • Place on a tab to select that tab

  • Place on a slider next button to advance

  • Place on a hidden button, which is wired as a click trigger to a Webflow interaction. This allows you to invoke an interaction anytime you like.

Usage Notes

sa-action-click = ( event name )

Place on any element that should be clicked when the specified event is invoked.

Assign whatever event name you like, depending on your trigger-event-action setup.

Example

This is a simple mirror-click setup. Clicking the link clicks the corresponding button. they are connected by virtue of the Event name.

Trigger;

<a sa-trigger-click="my-event">Click me</a>

Action;

<button sa-action-click="my-event">Hidden button</button>

Last updated

Was this helpful?