2017 © Pedro Peláez
 

silverstripe-vendormodule userforms

SilverWare UserForms Module.

image

silverware/userforms

SilverWare UserForms Module.

  • Wednesday, May 23, 2018
  • by PraxisNetAu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • Scheme
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

SilverWare UserForms Module

Latest Stable Version Latest Unstable Version License, (*1)

Extends the SilverStripe UserForms Module for use with SilverWare apps., (*2)

Contents

Requirements

Installation

Installation is via Composer:, (*3)

$ composer require silverware/userforms

Configuration

By default, this module will disable the built-in CSS and JavaScript that is required by silverstripe/userforms. This is achieved within the config.yml file with the following configuration:, (*4)

SilverStripe\UserForms\Model\UserDefinedForm:
  block_default_userforms_js: true
  block_default_userforms_css: true

The configuration file also changes the user form validator to an instance of SilverWare Validator using the following configuration:, (*5)

SilverStripe\UserForms\Form\UserForm:
  custom_validator_class: SilverWare\Validator\Validator
  custom_validator_enabled: true

Usage

This module adds an extension to the UserForm class which replaces the standard validator class with an instance of SilverWare Validator. This extension also adds a further extension point to UserForm named updateValidator, if you need to further customise the validator instance., (*6)

Template overrides are also provided by this module which replace the standard user form templates with ones that will render correctly in SilverWare apps, namely with Bootstrap 4 theme classes and the Parsley.js validation errors provided by SilverWare Validator., (*7)

Issues

Please use the issue tracker for bug reports and feature requests., (*8)

Contribution

Your contributions are gladly welcomed to help make this project better. Please see contributing for more information., (*9)

Maintainers

Colin Tucker Praxis Interactive
Colin Tucker Praxis Interactive

License

BSD-3-Clause © Praxis Interactive, (*10)

The Versions

23/05 2018

dev-master

9999999-dev https://github.com/praxisnetau/silverware-userforms

SilverWare UserForms Module.

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe userforms silverware

23/05 2018

1.0.0

1.0.0.0 https://github.com/praxisnetau/silverware-userforms

SilverWare UserForms Module.

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe userforms silverware