Custom Liquids Tags
Syngency has a variety of custom Liquid tags, which make assembling your Submission form a snap.
{% form %}
β
Renders the outer form tags for your submission form.
It accepts a single parameter β either contact
(which only sends the application information via email) or submission
(which sends the application information via email, as well as creating a talent profile in Syngency).
{% select %}
Renders an HTML dropdown list, prepopulated with options, and with a value set based on what has been submitted with the form previously.
{% select id: 'gender', name: 'gender', options: genders, option_value: 'id', option_text: 'name', class:'form-control', required: 'required' %}
{% input %}
Renders a single-line HTML text input field.
{% input id: 'first_name', name: 'first_name', class: 'form-control', required: 'required' %}
{% textarea %}
Renders a multi-line HTML text input field.
{% textarea id: 'profile', name: 'profile', class: 'form-control', required: 'required' %}
{% upload %}
Leverages Syngency's jQuery-based uploader plugin, to create an easy-to-use, customisable file upload field. Any markup contained within the open/close tags
type: image, document, video, audio
{% upload id: 'headshot', name: 'headshot', class:'form-control', type: 'image', required: 'required' %}
<span class="upload">Upload</span>
<span class="uploading">Uploading...</span>
<span class="uploaded">Uploaded!</span>
{% endupload %}
{% submit %}
Renders the form's submit button and enables Google reCAPTCHA bot protection.
βPlease note: your Syngency forms will not be submitted if you use a regular HTML <button type="submit">
tag.
{% submit form: 'contact', class: 'btn btn-accent btn-block' %}
Submit Form
{% endsubmit %}