Button Element
Insert buttons that can trigger (almost) everything in your popup!
The button element is one of the most versatile elements in the popup editor. Like all elements, it uses the same default settings for color, font, alignment, spacing, and other uniform properties that you can configure in your popup settings, or using the toolbar for this element.
You can select from multiple action types to define what happens when a user clicks the button:
- Open URL: Navigate to an external URL or internal page when the button is clicked.
- Change Frame: Switch to a different frame within your multi-frame popup, allowing you to create multi-step experiences.
- Close Popup: Simply close the popup when clicked, useful for dismiss buttons or after completing an action.
- Submit Form: Submit the form data in your popup, typically used in combination with form elements.
- Copy to Clipboard: Copy specified text to the user's clipboard, useful for sharing codes, links, or other content.
Advanced Behavior
For more complex scenarios, you can use advanced behavior to change what the button does based on user input in forms. This allows you to create conditional logic where different button actions are triggered depending on the values entered in form fields. For example, you might want to show different frames or redirect to different URLs based on a user's selection or input.