diff --git a/website/Contactform.html b/website/Contactform.html
index b0d7ff4..f487048 100644
--- a/website/Contactform.html
+++ b/website/Contactform.html
@@ -112,7 +112,7 @@
{% if block.settings.required %}required{% endif %}/>
{% endif %}
{% endif %}
-
+
{% when 'calendar_input' %}
{% if block.settings.title != blank %}
{%- assign title_handle = block.settings.title | handle -%}
@@ -148,29 +148,55 @@
{% when 'text' %}
{{ block.settings.text }}
+ {% when 'privacy_input' %}
+
+
+
+
+
+
+
+ {% when 'privacy_input' %}
+ {% if block.settings.title != blank %}
+
+
+ {%- assign title_handle = block.settings.title | handle -%}
+
+
+
+ * I agree to the
Privacy Policy
+
+
+ {% endif %}
+
+
+
+
+
{% endcase %}
{% endfor %}
-
-
-
-
-
-
{% endif %}
{% endform %}
@@ -213,7 +239,7 @@
onClose: function(selectedDates, dateStr, instance) {
$(instance.altInput).prop('readonly', false);
$(instance.altInput).blur();
- }
+ }
});
});
@@ -335,6 +361,31 @@
}
]
},
+ {
+ "type": "privacy_input",
+ "name": "Privacy Checkbox",
+ "limit": 1,
+ "settings": [
+ {
+ "type": "text",
+ "id": "title",
+ "label": "Label",
+ "default": "Privacy"
+ },
+ {
+ "type": "text",
+ "id": "textin",
+ "label": "Label",
+ "default": "Privacy"
+ },
+ {
+ "type": "checkbox",
+ "id": "required",
+ "label": "Required",
+ "default": true
+ },
+ ]
+ },
{
"type": "custom_input",
"name": "Custom input",