pikselin/userforms-extra

There is no license information available for the latest version (dev-master) of this package.

Fork from DNADesign, Extends userforms default functionalities

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

Type:silverstripe-vendormodule

dev-master 2025-05-21 23:03 UTC

This package is not auto-updated.

Last update: 2025-05-22 19:54:49 UTC


README

Introduction

This a colllection of extensions for User Definied Forms:

  • Allow to restrict allowed file extensions on EditableFielField
  • Allow to not attach uploaded files to emails generated after submission

Requirements

Install

Add the following to your composer.json file


    "require"          : {
		"dnadesign/userforms-extra": "0.1"
	}

Configuration

Allowed File Extensions

By default, EditableFielField restrict the file types to the ones allowed by Config::inst()->get('File', 'allowed_extensions'. With this extension, these file types can be overriden. Just edit the EditableFieldField and enter the list of allowed extensions.

Email File Attachement

By default, with this extension, files are not attached to email. To attach them, edit an email recipient and tick the Attach Files to Email in the Email Content tab.