File Upload (Pro feature)
Last updated
Last updated
Using the File Upload element allows you to upload files in different sizes, quantities and formats.
The File Upload element has the following attributes in the Element Tab:
Name - Title of the element.
Description - Description of the element.
Maximum file size - the maximum size of the file that can be uploaded.
Maximum attached files - the maximum quantity of the files that can be attached.
File upload price - shows the file upload price.
Supported file formats - specifies the file formats that can be uploaded.
The File Upload element has the following attributes in the Settings Tab:
Currency Sign - Enable if you want to show the currency symbol.
Required - Defines whether the element will be required to fill or not.
Show in Grand Total - Disable if you want to hide the element in Grand Total.
Additional Classes - Add extra classes to the HTML elements to further style changes.
This setting allows you to add a measuring unit (Ω, cm, kg, inch, etc.) to the field.
Unit Symbol - enter the unit symbol
Position - select the position where the symbol should be displayed relative to the number
Number of decimals - indicate the number of decimals in the fractional part
Decimal separator - select the symbol to separate fractional part
To add the File Upload element to your calculator simply drag and drop the element to your preferred place of the calculator. Fill in the fields based on your preference and save the changes.
Below you can see the result of the created sample calculator with File Upload element. By Choose file button you can upload files directly from your computer or upload files via URL.
The result of the File Upload element will be displayed in the total summary.
Received orders can be located in Dashboard > Cost Calculator > Orders. Orders with attached files are displayed with Paper Clip icon beside them.
Uploaded files are available in the open form on the popup window which appears after clicking the order.
The field above takes its value from the configurations of the host server. Learn more about increasing the maximum file size .
By default, WordPress allows only common file formats to be uploaded. However, all file types can be set as allowed by taking certain steps. To learn more about it navigate to this .
Hidden by Default - The element will be hidden until a corresponding is met. If the element is hidden, its default value will be counted as '0' in the formula
Calculate hidden by default - If any case hides the element: via the Hidden by Default setting or hidden by some , the element's default value (if it is set) will be counted in the formula
Thousands separator - select the the symbol to
When is enabled in calculator settings the details of the order will be displayed in the WooCommerce orders section and attached files can be found from the order details.