Templating the Select field
The Select field will add a dropdown select box of choices for the content authors to pick from.
This article assumes that you have saved the document object in a variable named document as shown in the Retrieve the document object page.
Access the Select value
Here is an example of how to retrieve the value from a Select field which has the API ID category.
const category = document.category;
Was this article helpful?
Can't find what you're looking for? Get in touch with us on our Community Forum.