diff --git a/djangocms_forms/templates/djangocms_forms/form_template/default.html b/djangocms_forms/templates/djangocms_forms/form_template/default.html index 63418c6..d609de3 100644 --- a/djangocms_forms/templates/djangocms_forms/form_template/default.html +++ b/djangocms_forms/templates/djangocms_forms/form_template/default.html @@ -15,8 +15,10 @@ var form = { 1 {% elif item.value == False or item.value == None %} 0 - {% else %} + {% elif item.value|length %} {{ item.value|length }} + {% else %} + 0 {% endif %} , {% if item.type != 'checkbox_multiple' %} diff --git a/media/filer_public_thumbnails/filer_public/2a/48/2a48c511-3e32-4f7f-b488-19279bc1934e/copyright_cert.jpg__250x356_q85_subsampling-2.jpg b/media/filer_public_thumbnails/filer_public/2a/48/2a48c511-3e32-4f7f-b488-19279bc1934e/copyright_cert.jpg__250x356_q85_subsampling-2.jpg new file mode 100644 index 0000000..4a5b5ec Binary files /dev/null and b/media/filer_public_thumbnails/filer_public/2a/48/2a48c511-3e32-4f7f-b488-19279bc1934e/copyright_cert.jpg__250x356_q85_subsampling-2.jpg differ diff --git a/zsite/templates/form_template/product_class.html b/zsite/templates/form_template/product_class.html index 8a41d97..da9f8ec 100644 --- a/zsite/templates/form_template/product_class.html +++ b/zsite/templates/form_template/product_class.html @@ -79,7 +79,7 @@ var form = { {% verbatim %}