LORD OF THE WIX

CMS: About Dataset Click Actions for Buttons and Images

Lord Of The Wix · Oct 25, 2026

When connecting a button or image to a dataset, choose what action occurs when visitors click the element. The list of available actions varies depending on the dataset mode and whether you connect to a regular dataset or a dynamic page dataset. Learn more about all the available dataset click actions below.


Screenshot of setting a button's click action to 'Submit'.

Editing actions


Use dataset editing actions to create custom CMS forms that are built with input elements that submit to your collection. These actions include 'Submit', 'New', 'Revert', and 'Delete'. View details about each dataset editing action below:


Submit


Use the 'Submit' click action to save information to your collection that visitors provide in input elements.


Learn how to create a custom form using input elements that saves to your CMS collection.


Notes:



New


Use the 'New' click action to submit values from the dataset's connected input elements to your collection and then reset the inputs so they can accept new values.


Set the dataset mode to Read & Write to use the 'New' action to either add new items or update existing items in your collection. In this mode, the inputs display the current values of an existing item. If you edit these values and click 'New', the updated values replace the existing item's values. After this, the inputs reset. If you fill them out again and click 'New', the input values create a new item in your collection.


Learn more about managing collection content from your live site.


Notes:



Revert


Use the 'Revert' action to let visitors click to undo any selections or edits they've made to the input elements. The 'Revert' action resets the values of the dataset's connected input elements that have not yet been submitted to your collection. This is a great way for visitors quickly reset their custom CMS form selections and start over from scratch filling out the form.


Notes:



Delete


Use the 'Delete' click action to delete existing items from the dataset's connected collection. When visitors click the 'Delete' button, the item that is read by the dataset is deleted from your collection.


Notes:



List actions


Use dataset list actions to create buttons that interact with other elements that connect to the dataset and read from your collection. These actions include 'Load more', Apply filters', 'Reset input values', 'Next item' and 'Previous item'. View details about each dataset list action below:


Load more


Use the 'Load more' click action to cause the dataset's connected repeater or gallery to load an additional batch of items. The maximum number of items that can load in each batch is determined by the 'Items per load' dataset setting. This setting also controls the maximum number of items that initially load in the dataset's connected repeater or gallery.


For example:


Imagine having a repeater connected to a dataset with the 'Items per load' setting set to 4 and the collection containing 10 items. When the page loads, the dataset can only read 4 items per load, so only 4 items initially appear in the repeater. When a visitor clicks a 'Load more' button, the next 4 collection items are read and displayed for a total of 8 items (4+4=8). Clicking 'Load more' again causes the dataset to look for 4 more items. The collection only has 2 more items, so the remaining 2 items load to display all 10 items (4+4+2=10).


Other dataset settings, such as filters and sorts, also apply to the 'Load more' action. So, if you add a filter to exclude items, the dataset does not read these items or display them when visitors click your 'Load more' button. Dataset sort conditions determine the order in which the items load initially, and when visitors click the 'Load more' button.


Learn how to add a 'Load more' button to a repeater or gallery.


Notes:



FAQs about the 'Load more' action:


What is the maximum number of items I can load at a time?

By default, the Items per load field is set to 100 items or 1 item for dynamic item pages. To ensure the best loading experience for your site visitors, you can display up to 1000 items per load on your page.

Add a 'Load More' button to provide visitors with a way to click and view more items on the page. You can also add 'Previous/Next page' buttons and pagination bars (Wix Editor only) to limit the number of items displayed per 'page' of items.

Learn more about:


Why should I add 'Load more' or 'Previous/Next page' buttons?

Adding 'Load more' or 'Previous/Next page' buttons to the dataset that connects to your repeater or gallery enhances the user experience and optimizes loading performance.

Key Reasons:


How do I create a 'Load more' button?

To create a 'Load more' button, add a button or image, connect it to the dataset and set the element's click action to Load more.

Learn how to add a 'Load more' button to a:

Note: If you connect a pro gallery to your collection's 'Media Gallery' field type, you can use the gallery's built-in 'Load more' button to restrict the number of images or videos displayed on the page. For directions, see the question below titled: Why doesn't my pro gallery's 'Load more' button respond to the dataset settings?


Why doesn't my pro gallery's 'Load more' button respond to the dataset settings?

The pro gallery has a built-in 'Load more' button that can restrict the number of media items displayed in the gallery.

If you enable this 'Load more' button in the gallery's layout settings, it uses these settings to determine when to appear and how many more images load. With the gallery's built-in 'Load more' button, the dataset's Items per load setting determines the aggregate total maximum items that can load in the gallery. However, it no longer determines how many items initially load in the gallery or how many additional items load when visitors click this 'Load more' button.

Screenshot of enabling the Pro Gallery's built-in Load More button settings.

Consider the type of collection field your gallery connects to when deciding which 'Load more' button to use:


Apply filters


When you have input elements that are set to filter content, by default, the filters are applied as soon as a visitor makes a selection. You can change this behavior by using the 'Apply filters' click action. With an 'Apply filters' button, the content is not filtered until visitors click this button. This creates a better experience for visitors if, for example, you want them to set multiple filters before applying them all at once.


Notes:



Reset input values


Use the 'Reset input values' action to let visitors click to clear all the selections they've made in input elements that are set to filter content. This is a great way for visitors to clear all the filters they've set in one click. The 'Reset input values' action is similar to the 'Revert' action used for input elements that collect content,


Notes:



Next item / Previous item


Use the 'Next/Previous item' actions to show content from the next or previous item read by the dataset. The order in which the collection items are read is determined by the dataset's sort condition. Dataset filters also apply so the dataset does not load any items that are excluded by the filter.


If you connect input elements that collect content to a Read & Write mode dataset, clicking the 'Next item' button saves the input values to the current collection item before loading the next one. The same applies to the 'Previous item' button, which saves changes before loading the previous item.


Learn how to manage collection content from your live site:



Notes:



Navigation actions


Use dataset navigation actions to create buttons that take visitors to the next or previous dynamic page read by the dataset, or to specific dynamic pages. These actions include 'Next/Previous page' and 'Next/Previous dynamic page'. View details about the dataset navigation actions below:


Next page / Previous page


Use the 'Next/Previous page' actions to cause connected repeaters and galleries to display the next or previous 'page' of items. The dataset's 'Items per load' setting determines how many items are on each 'page'. The dataset's filters and sort conditions determine which items load and the order in which they appear in each 'page'.


For example, if you click a 'Next page' button and the dataset's 'Items per load' setting is "10", the next 10 items read by the dataset load in the repeater or gallery.


These click actions are similar to the 'Load more' action. However, instead of loading additional items, the 'Next/Previous page' actions replace the existing items with a new 'page' of items in the repeater or gallery.


Notes:



Next dynamic page / Previous dynamic page


On a dynamic item page, the 'Next/previous dynamic page' actions take visitors to the next or previous item's version of the page. Each item has a unique dynamic URL for its dynamic item page in which the item displays.


In the dataset settings, the dataset's sort condition determines the order in which the next or previous item's dynamic URL loads. You can add a filter to the dataset to exclude specific item page URLs from loading.


For example, with the 'Next dynamic page' action, if the dataset sorts a 'Number' field type from low to high, the item with the next highest number loads next. If the dataset has a filter that excludes certain items from loading, these excluded items will be skipped and the next available item page loads.


When visitors are viewing the last dynamic item page read by the dataset, the 'Next dynamic page' click action is disabled. This is because there are no more item pages remaining that can load from the dataset. The same concept applies to the 'Previous dynamic page' action. If visitors are on the first item page returned by the dataset, the 'Previous dynamic page' click action is disabled since there are no previous item pages read by the dataset.


The 'Next/Previous dynamic page' actions can also be used by visitors to edit collection content. If you connected input elements to a Read & Write mode dataset, when visitors click the 'Next dynamic page' button, their inputs write to the current collection item before loading the next dynamic item page. The same concept applies to the 'Previous dynamic page' click action, which writes to the collection before loading the previous dynamic item page. Learn more about managing collection content from your live site.


Note:



Field actions


Connect buttons and images directly to the following collection field types: Audio, Document, Email, Image, Video, and URL.


What happens when visitors click these buttons depends on the connected field type:



When connecting a URL field, you can choose to open the URL in the current window as well as set rel values for improved SEO.


Wix Stores actions


Use the dataset 'Stores/Products Actions' to create buttons that interact with your Wix Stores products. To use these dataset actions, make sure to enable Wix App Collections in your CMS advanced settings. View the available dataset 'Stores/Products Actions' below:


View full tutorials about:



Add to cart


Use the 'Add to cart' action to give visitors a way to add products to their shopping cart from a repeater displaying your products.


Note:


This click action is available if you have Wix App Collections enabled, Wix Stores products, and the dataset connects to the Products Wix App collection.


Open quick view


If you have a repeater displaying your Wix Stores products, use the 'Open quick view' action to let visitors view products in the quick view window. From there, visitors can read more about the product and add it to their cart.


Note:


This click action is available if you have Wix App Collections enabled, Wix Stores products, and the dataset connects to the Products Wix App collection.


Catalog collection actions


Use the catalog collection click actions to let visitors purchase items directly from a catalog collection. These actions appear in the dataset's Click action connects to dropdown when the dataset connects to a catalog collection. View the available actions below.


Add to cart


Use the 'Add to cart' action to let visitors add a catalog collection item to their cart from the page they're viewing. When a visitor clicks the connected element, a side panel opens where they can review the item and continue shopping or proceed to checkout.


Notes:



Buy now


Use the 'Buy now' action to send visitors straight to the checkout page for the connected catalog item. This is a faster path than 'Add to cart' when you want to reduce the steps between an item view and a completed purchase.


Notes:



Pricing Plans actions


Use the dataset 'PaidPlans/Plans Actions' to create separate buttons visitors can use to select a plan and go to checkout. To use these dataset actions, make sure to enable Wix App Collections in your CMS advanced settings.


You can connect buttons and images to the following Pricing Plans dataset actions:



Note:


This click action is available if you have Wix App Collections enabled, plans created in Wix Pricing Plans, and the dataset connects to the Plans Wix App collection.


This article is credited to the Wix team - https://support.wix.com/ and we thank them for that!

More PostsLet's Talk

Need A Professional Website?
Contact Us Today!