diff --git a/docs/documentation/form/file.html b/docs/documentation/form/file.html index 46659461..b7dafc79 100644 --- a/docs/documentation/form/file.html +++ b/docs/documentation/form/file.html @@ -459,6 +459,35 @@ meta: {% endcapture %} +{% capture file_javascript %} +
+ +
+ + +{% endcapture %} + {% capture file_sizes_boxed_name %}
@@ -725,9 +754,9 @@ meta:

A file upload input requires JavaScript to retrieve the selected file name. -
- User @chintanbanugaria on GitHub has provided a simple solution on JSFiddle. + Here is an example of how this could be done:

+ {% include elements/snippet.html content=file_javascript %}
{% include elements/variables.html