Created
March 22, 2022 09:43
-
-
Save NickDeckerDevs/c126f7cc6af674d8525379c9e0008d72 to your computer and use it in GitHub Desktop.
hubl to query custom object and display results as a drop down in a form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set objects = crm_objects("condo_project") %} | |
<label for="condo-projects">Choose a project:</label> | |
<select name="condo-projects" id="condo-project"> | |
{% for item in objects.results %} | |
<option value="{{ item.id }}">{{ item.name }}</option> | |
{% endfor %} | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment