Uploaded files summary - smbc-digital/form-builder GitHub Wiki

This element works by generating a list of files which have been uploaded. The List is configured via FileUploadQuestionIds property, The Question Ids specified within here are used for generate the list.

DSL properties

Property Type Required Default Value Description
Text string ✔️ P text shown above the summary section
FileUploadQuestionIds string[] ✔️ The file upload question is used to populate the files summary
Classname string ✔️ "smbc-!-font-word-break" Any additional classes you wish to append to the list element

Address examples

DS Json for address:

    {
      "Title": "Upload your files",
      "Elements": [
         {
              "Type": "UploadedFilesSummary",
              "Properties": {
                  "Text": "You've uploaded:",
                  "FileUploadQuestionIds": [ "file-question-id", "file-question-id-two" ]
              }
         }
      ]

image