Home Search

DriveWorks Pro 22
File Filter, Upload File Extension Filter

Send Feedback

File Filter, Upload File Extension Filter

File Filter - The filter to use when picking a file to upload.

Upload File Extension Filter - The filter to use when picking an image to upload. E.g. png|jpg

Property Type: Static

Default Value: No default value is applied to this property

Hierarchical Reference: ControlName.FileFilter

To Change the Default Value

Ensure the property is a static property (It will display the gray orb alongside the property name).

The default value of the static property can be changed by:

  1. Click in the property for the control to be changed
  2. Type the required value.

Examples

File Filter Property Value (Upload control)ResultNotes
Image File:png,jpg|Word File:doc,docx|Excel File:xlsWill display the file types that can be uploaded as:

Image File (*.png;*.jpg)

Word File (*.doc;*.docx)

Excel File (*.xls)

Text File:txt;csvWill display the file types that can be uploaded as:

Text File (*.txt;*.csv)

When the property is blank the file types that can be uploaded will displayed as:

All Files (*.*)

File Filter Property Value (Tiny MCE control)ResultNotes
png|jpgWill display the file types that can be uploaded as:

png;jpg

A rule can also be built for this property by changing the type to dynamic.

See How To: Change A Static Property To A Dynamic Property.

Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.