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:
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 %} +
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: