Download the PHP package tollwerk/tw-forms without Composer

On this page you can find all versions of the php package tollwerk/tw-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tw-forms

tw-forms — Tollwerk Enhanced TYPO3 Forms

TYPO3 License

A TYPO3 extension that enhances the native TYPO3 Form Framework with improved validation, better accessibility, and an enhanced user experience.

Features

tw-forms extends forms in TYPO3 to provide:

Accessible Forms

Validation Overview

Supported Form Field Types

Tested and supported form field types with enhanced rendering and accessibility.

TYPO3 Form Framework

Powermail Integration

Tested and supported form field types with enhanced rendering:

Requirements

Installation

1. Install via Composer

2. Activate the Extension

Activate the extension in the TYPO3 Extension Manager or via CLI:

3. Include Static TypoScript

  1. Go to the Web → Template module
  2. Select your root page
  3. Click Edit the whole template record
  4. Go to the Includes tab
  5. Add "Tollwerk Enhanced TYPO3 forms (tw_forms)" to the selected items

4. Clear Caches

Or use the TYPO3 backend: Admin Tools → Flush all caches

Configuration

Essential CSS Classes

Client-side validation depends on specific CSS classes automatically applied via CustomFormSetup.yaml (Form Framework) and tx_powermail.typoscript (Powermail):

Class Purpose
.Form.Form--custom-validation Enables client-side validation
.FormField__input Applied to text inputs, selects, etc.
.FormField__textarea Applied to textarea elements
.FormField__group-element For grouped inputs (checkboxes, radios)

For styling purposes, there are custom checkboxes and radio buttons implemented. These follow Sara Soueidan's Inclusively Hiding & Styling Checkboxes and Radio Buttons.

Class Purpose
.CustomInput.CustomInput--check Checkbox
.CustomInput.CustomInput--radio Radio button

Pre-configured in:

Accessibility Recommendations

Autocomplete Attributes

Always include autocomplete attributes to meet WCAG 2.1 requirements.

Common values:

Full list: WCAG 2.1 Input Purposes

Form Framework

In your form definition file:

Powermail

Powermail doesn’t support autocomplete attributes natively.
Use Powermail Autocomplete by Thomas Rawiel.

The extension adds a backend field for the autocomplete attribute to the form element.

  1. Open the form element
  2. Go to the Extended tab
  3. Under Autocomplete options, set Field type [autocomplete_token]

Placeholders

Descriptions

Add meaningful descriptions for fields that expect specific formats or have strict validation (e.g. “Please enter at least 8 characters.”)

Custom Error Messages

Specific error messages add benefit to the accessibility and user experience of a form. The more precisely it describes what and how the user can do to fix the error, the better.

Custom error messages can only be added in the native TYPO3 form framework, either in the backend or the form definition file:

Customization

Disable Client-Side Validation

If you only want server-side validation:

Custom CSS Styling

Override the default styles by including your own CSS after the extension CSS:

Supported Languages

Translation files are located in Resources/Private/Language/.

Powermail

For Powermail setups, translations for error messages are defined directly in the tx_powermail.typoscript file.

Known Limitations

Troubleshooting

Issue Possible Fixes
Forms not rendering Ensure static TypoScript is included, check YAML syntax, clear caches
JS validation not working Check browser console, verify JS assets load, ensure required CSS classes exist
Validation errors not visible Confirm validators are configured, check translation files, enable TYPO3 debug mode

Development

See the Developer Documentation for:

Support

Credits

License

This extension is licensed under the MIT License. See the LICENSE file for details.


Version: 2.0.x TYPO3 Compatibility: 13.4 Last Updated: 2026-05-21


All versions of tw-forms with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^13
typo3/cms-fluid-styled-content Version ^13
typo3/cms-form Version ^13
wyrihaximus/html-compress Version ^4
fluidtypo3/vhs Version ^8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tollwerk/tw-forms contains the following files

Loading the files please wait ...