{% import "_includes/forms" as forms %} {{ forms.textField({ label: "Placeholder Text"|t('sproutFields'), instructions: "The text that will be shown if the field doesn’t have a value."|t('sproutFields'), id: 'placeholder', name: 'placeholder', value: field.placeholder }) }} {{ forms.checkboxField({ label: "Email Addresses for this field have their own validation pattern"|t('sproutFields'), name: 'customPatternToggle', checked: field.customPatternToggle, toggle: 'sproutemailfield-custom-validation-pattern' }) }}