anomaly/upload-field_type

A simple file upload field type.

Installs: 678

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 5

Type:streams-addon

v1.3.0 2019-03-03 23:08 UTC

README

anomaly.field_type.upload

A file upload field type.

The file file type provides a file input that uploads to the Files module.

Example

Using the contact form plugin:

{{ form('contact').fields({
	'name': {
		'required': true,
		'label': 'REsume',
		'type': 'anomaly.field_type.upload',
		'config' : {
			'folder':'uploads'
		}
	}
})|raw }}