horizon.tech

Event Handlers

Horizon Site Builder allows you to add event handlers to create more dynamic web experiences.

Event handlers are ways of linking actions users take to effects displayed on your site. Event handlers are unlocked as an advanced feature. There is often a source component ID and a target component ID (for example, if a click occurs on a particular component, it may trigger a redirect to another location).

You can open the event handler sidebar and inspect, edit, create and delete event handlers from the main site bar.

The event handler tab and sidebar

When you're creating an event handler both the 'event target' (for example, the clicked element) and 'action target' (when changes to components are made) might be assigned to a component. You can hover over components to set event and action targets.

Setting components as event or action targets

Event Types

The set of event types which can be handled are click events, scroll events, button or form submissions, and selections on map components.

Choosing the event type

Action Types

Action types can be applied to horizon components like maps (pan map), can trigger display of various tables and data (select category, select data, apply filter, create data, populate template).

Advanced actions can include triggering communications (sending a text or an email, triggering a custom saved workflow).

Choosing the action type and setting action properties

horizon.tech

A low-code platform for data collection, schema management, data visualization, and publishing.

© 2024 - 2025 Yrbia LLC, Delaware. All rights reserved.