CMS Select

Dynamically populate select fields with options from your CMS lists. Streamline form management and updating.

Copy the CMS Select <script> and paste into the <head> of your page

<!-- [WebTricks by CodeRaccoons] - CMS Select -->
<script async src="https://cdn.jsdelivr.net/gh/TheCodeRaccoons/WebTricks@1/Dist/WebflowOnly/CMSSelect.min.js" ></script>
Copy Script

Required attributes

Optional
Defines the select element to be populated dynamically.
Attribute to add
Name
wt-cmsselect-element
Value
select
Instructions

Assign this attribute to the select element where options will be dynamically added.

How does it look?
Optional
Defines the target elements to extract options for the select element.
Attribute to add
Name
wt-cmsselect-element
Value
target{index}
Instructions

Assign this attribute to the elements containing the data for the select options.

How does it look?

Optional Attributes

No items found.

Working examples