sgalinski / sg-forms
TYPO3 Form Enhancer, Spam Protection & Submission Overview/Export Module - Enhances TYPO3 EXT:form with repeatable containers, linked checkboxes, custom field identifiers, PDF form filling, submission storage with backend/CLI CSV export, a backend submission module with translation-aware grouping an
Package info
gitlab.sgalinski.de/typo3/sg_forms.git
Type:typo3-cms-extension
pkg:composer/sgalinski/sg-forms
Requires
- php: ^8.4
- ext-mbstring: *
- ext-openssl: *
- ext-zlib: *
- dragonofmercy/phppdf: ^1.12.5
- sgalinski/sg-apicore: ^3.1
- sgalinski/sg-captcha: ^1.0
- sgalinski/sg-mail: ^11.0
- typo3/cms-core: >=14.3.0 <=14.3.99
- typo3/cms-form: >=14.3.0 <15.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
- sgalinski/sg_forms: 8.4.1
- dev-master
- 8.4.1
- 8.4.0
- 8.3.6
- 8.3.5
- 8.3.4
- 8.3.3
- 8.3.2
- 8.3.1
- 8.3.0
- 8.2.0
- 8.1.1
- 8.1.0
- 8.0.9
- 8.0.8
- 8.0.7
- 8.0.6
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- v7.x-dev
- 7.8.1
- 7.8.0
- 7.7.1
- 7.7.0
- 7.6.0
- 7.5.1
- 7.5.0
- 7.4.2
- 7.4.1
- 7.4.0
- 7.3.9
- 7.3.8
- 7.3.7
- 7.3.6
- 7.3.5
- 7.3.4
- 7.3.3
- 7.3.2
- 7.3.1
- 7.3.0
- 7.2.1
- 7.2.0
- 7.1.18
- 7.1.17
- 7.1.16
- 7.1.15
- 7.1.14
- 7.1.13
- 7.1.12
- 7.1.11
- 7.1.10
- 7.1.9
- 7.1.8
- 7.1.7
- 7.1.6
- 7.1.5
- 7.1.4
- 7.1.3
- 7.1.2
- 7.1.1
- 7.1.0
- 7.0.4
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- v6.x-dev
- 6.3.13
- 6.3.12
- 6.3.11
- 6.3.10
- 6.3.9
- 6.3.8
- 6.3.7
- 6.3.6
- 6.3.5
- 6.3.4
- 6.3.3
- 6.3.2
- 6.3.1
- 6.3.0
- 6.2.0
- 6.1.9
- 6.1.8
- 6.1.7
- 6.1.6
- 6.1.5
- 6.1.4
- 6.1.3
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.1
- 6.0.0
- v5.x-dev
- 5.0.14
- 5.0.13
- 5.0.12
- 5.0.11
- 5.0.10
- 5.0.9
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.3.17
- 4.3.16
- 4.3.15
- 4.3.14
- 4.3.13
- 4.3.12
- 4.3.10
- 4.3.9
- 4.3.8
- 4.3.7
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.9
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.1
- 4.1.0
- v4.0.x-dev
- 4.0.16
- 4.0.15
- 4.0.14
- 4.0.13
- 4.0.12
- 4.0.11
- 4.0.10
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.8.11
- 3.8.10
- 3.8.9
- 3.8.8
- 3.8.7
- 3.8.6
- 3.8.5
- 3.8.4
- 3.8.3
- 3.8.2
- 3.8.1
- 3.8.0
- 3.7.4
- 3.7.3
- 3.7.2
- 3.7.1
- 3.7.0
- 3.6.5
- 3.6.4
- 3.6.3
- 3.6.2
- 3.6.1
- 3.6.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- v3.0.x-dev
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.6.11
- 1.6.10
- 1.6.9
- 1.6.8
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-fix_security_audit
This package is auto-updated.
Last update: 2026-12-04 22:24:07 UTC
README
License: GNU GPL, Version 2
Repository: https://gitlab.sgalinski.de/typo3/sg_forms
Please report bugs here: https://gitlab.sgalinski.de/typo3/sg_forms
Requirements
Since version 8.4.0, PHP 8.4 is required for the entire extension, including installations without a PDF finisher. PHP 8.3 is no longer supported.
- TYPO3 14.3.
- PHP 8.4 for web/FPM and CLI, including deployment commands and cron jobs.
- PHP extensions
mbstring,opensslandzlib.
Composer declares and checks the runtime requirements. Installations that must retain PHP 8.3 need a compatible 8.3.x release. See Upgrading to 8.4.0 for PHP and PDF template migration instructions.
About
This extension provides additional functionality for the forms extension
The backend Form Submissions module provides:
- a form overview with submission counts
- a root selection view listing pages that contain form submissions
- an explicit empty state when no form submissions exist on any accessible page
- grouped submission list view per form (paginated)
- single submission detail view
- in-context actions (back, export CSV, delete)
- filter-aware empty states
- CSV exports with contextual filenames (
sgforms-*.csv) - submission selection exports include only visible form fields; the CSV columns
Submission ID,Submitted at,Field, andValuealways remain included - per-form configurable visible columns in submission list
- "new since last visit" indicators in form overview
- language-aware frontend page links in submission detail views
- translation-aware submission grouping by main form identifier
- restoring a deleted main form definition also restores related deleted translation files
Legacy submissions without a stored language context continue to link to the default language version of the frontend page in the submission detail view.
Database Schema
The internal submission table is declared in TCA. ext_tables.sql remains the authoritative source for its existing
primary key, parent index, and legacy signed integer columns until the project-wide schema migration is verified.
Setup
Setup custom forms storage
All you need to be able to store the form yaml files in our project theme is to create the following folder: web/typo3conf/ext/project_theme/Resources/Private/Forms**
Don't forget to include the Typoscript in your template!
CAPTCHA protection
Enable CAPTCHA for an individual form with the Enable CAPTCHA checkbox in the form editor. The globally enabled
provider, its credentials, rendering and server-side validation are configured exclusively by sg_captcha. Failed
requests are redisplayed with the shared CAPTCHA validation message, including programmatic submissions without browser
constraint validation.
Form upgrades
The sgforms_migrate_form_definitions wizard combines localized YAML imports and CAPTCHA option migration.
It also updates legacy CAPTCHA options in forms already stored in the database. Imports and CAPTCHA updates
must succeed before source YAML files are removed. File deletion requires explicit confirmation; declining it
keeps the wizard pending. See UPGRADE.md for the migration steps.
Provisioned installations can explicitly approve known unused orphan translations through the
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sg_forms']['orphanTranslationArchiveSha256'] map in the
project's ext_localconf.php. Keys are exact FAL persistence identifiers (for example
1:/form_definitions/1.en.oldForm.form.yaml); values are the reviewed file's SHA-256 checksum.
An empty map is the default and never permits automatic orphan cleanup.
For an approved source without a file or database parent, the wizard checks content, stored
TypoScript, form configurations and FAL references, then writes and verifies an exact backup
under var/form-migration-archive/<source-hash>/<content-hash>/<filename>. It removes the source
only after all imports and CAPTCHA conversion succeed. Changed, referenced or unapproved files,
existing parents, and archive failures retain the source and report a concrete warning.
Repeated attempts reuse identical archives; provisioning can restore the original source files
and replay the same checked migration without manual file moves. Other copies in a provisioning
fixture are not modified by the wizard.
Default spam protection
All frontend forms, including existing form definitions, receive the default spam check. A signed challenge is bound to the form and site. Final submissions made in less than five seconds, with a missing, expired or reused challenge, or beyond the submission rate limit are rejected before finishers run. The existing honeypot remains enabled unless Disable honeypot is selected; Check link spam and CAPTCHA remain opt-in.
The challenge endpoint is /sg-forms/spam-challenge/. JavaScript adds the token to the form and preserves it across
multi-step forms in sessionStorage; a same-origin image sets an HttpOnly cookie as a fallback. No form definition or
Fluid template changes are required.
The only spam-protection option in Extension Configuration is Enable automatic spam protection
(enableDefaultSpamProtection, enabled by default). Temporarily disable it if the automatic check prevents legitimate
submissions, for example while resolving a blocked challenge endpoint. Re-enable it after fixing the cause. This switch
affects the signed challenge, timing check and rate limits; honeypot, link checks and CAPTCHA keep their own settings.
The protection uses fixed limits maintained in the services:
| Check | Fixed limit | Scope and purpose |
|---|---|---|
| Minimum delay | 5 seconds after challenge issuance | Reject immediate automated submissions; elapsed time carries across form steps. |
| Challenge validity | 2 hours | Allow longer editing sessions while limiting token and replay-cache lifetime. |
| Challenge requests | 60 per minute | Per client IP and site across all forms; includes JavaScript and fallback image requests. |
| Accepted submissions | 8 per minute | Per client IP, form and site; prevent repeated submissions and finisher execution. |
Rate limits use fixed one-minute buckets, not a rolling window. Visitors sharing a public IP also share the corresponding limits. Changing form identifiers cannot bypass the challenge-request limit. These implementation limits are not Extension Configuration options.
Double Opt-In finisher
TYPO3 14 forms can request a double opt-in through the Request double opt-in finisher. It sends the configured
sg_mail template to the selected email form field. Leave the template key empty to create a generic, form-specific
sg_mail template automatically on the first submission. The mail receives all form-value markers plus {doubleOptInUrl}.
The public GET /double-opt-in/confirm/?token=... middleware hashes the token, confirms it once, sends the optional
follow-up sg_mail template, and redirects to the configured confirmation page without the token.
Configure the email field, DOI template, confirmation page UID, validity in hours, status-field name,
and optional follow-up recipients/CC/BCC/reply-to in the Form Editor. doubleOptInConfirmed is the default status
field. The submission is always stored, whether or not SaveSubmissionFinisher is additionally configured. Its value
is stored as 0 and becomes 1 atomically at confirmation.
Enable Send follow-up mail to send a post-confirmation mail; leaving its template key empty creates a generic
form-specific template automatically.
When both finishers are configured, they share one submission identifier regardless of their order and never create a
duplicate submission. sg_mail must be installed and the selected templates must exist. The existing
sgforms:deleteOldFormSubmissions retention task removes expired pending DOI records immediately. Confirmed DOI
records, including confirmed_at as the confirmation evidence, remain until the configured submission retention ends.
Expiry is enforced immediately even before cleanup runs.
PDF Finisher
The PdfFinisher can fill an existing PDF form with submitted form values and optionally attach it to admin/user mails.
PDF processing uses dragonofmercy/phppdf in pure PHP, installed through Composer. No external PDF binaries are needed.
Supported fields are text (single-line and multiline), checkboxes, radio groups, comboboxes and listboxes.
Direct mappings preserve checkbox booleans and multi-select arrays; mixed text expressions produce text.
Radio and choice values must match the template's export values. Existing Yes/Off checkbox mappings remain accepted.
Template compatibility:
- Use AcroForm-only templates. PDFs containing an XFA layer are rejected.
- Use supported field fonts and encodings. Standard Helvetica, Times and Courier are suitable; simple embedded fonts require WinAnsiEncoding. MacRomanEncoding and some composite-font formats are not supported.
- For non-ASCII choice captions (for example
Österreich), use UTF-16BE hex strings in the template. Legacy PDFDocEncoding captions are not decoded correctly by the current library. This concerns template options, not submitted UTF-8 text values. - Check the generated layout before deploying an existing template. Field backgrounds, borders, text colour and automatic sizing can differ from pdftk. Put required background graphics into the page content.
- Test unanswered optional selections. Unselected radio/combobox fields without a valid export value can prevent flattening; use an explicit mapped option such as "not specified" where needed.
- Flattening templates with signature or push-button fields is rejected because those fields would remain interactive.
Generation, field-discovery, storage and download-token failures are logged at ERROR level through TYPO3's Logging
Framework. The components are SGalinski.SgForms.Service.PdfService and SGalinski.SgForms.Finisher.PdfFinisher.
Finisher errors include formIdentifier and templateIdentifier; service errors identify the failed processing step.
Exception diagnostics retain class, code and code location, without exception messages/traces, submitted values or
access tokens. Missing templates, empty mappings and missing/empty output files are errors as well.
Check the configured TYPO3 log writers; the default FileWriter writes to var/log/typo3_*.log. Forward ERROR records
from these components to the installation's existing monitoring if alerts are needed. Logging does not cancel subsequent
finishers: mail finishers can still run without an attachment after generation fails, but the failure is recorded.
A download-token failure leaves an already generated PDF available for mail attachments.
In the form editor:
- Add the
Fill PDF with form valuesfinisher. - Select a PDF template file (
sys_filewith AcroForm fields). - Click
Load PDF fieldsto import all PDF field names into the mapping table. - Map each imported PDF field to a TYPO3 form field identifier (
Text,Textarea,Email,Checkbox,LinkedCheckbox,RadioButton,SingleSelect,MultiSelect,CountrySelect) or to a virtual value (CURRENT_DATE,CURRENT_TIME,CURRENT_DATETIME,CURRENT_TIMESTAMP). - Optionally enable
Start generated PDF download on confirmation page (one-time, deletes file after first access)to automatically trigger the PDF download after submit. Flatten generated PDF (make it non-editable)is enabled by default. Disable it if you want to keep output fields editable/highlighted.
PDF field names do not need to equal the TYPO3 identifiers: the mapping connects them. Radio and select export values must equal the submitted option values; visible labels can differ. The editor does not enforce type compatibility.
Creating a PDF template
- Design the static page content and add interactive AcroForm fields in a PDF form editor. A PDF that only looks like a form, an XFA form, or a PDF produced by printing a form is not a suitable template. Keep the source editable; do not flatten the template before uploading it.
- Give fields stable, unambiguous names, preferably ASCII identifiers such as
applicant_name. Give each independent field its own name. Radio buttons belonging to one group share a field name and have different export values. - Configure field types and values using the table below. Set multiline explicitly for textareas and multiple selection explicitly for listboxes. Size fields for the expected content.
- Use a supported field font, for example Helvetica, with an explicit size such as 11 pt. Do not rely on automatic sizing to reproduce pdftk's output. Required shading, borders and other decorative elements should be part of the static page artwork; generated field appearances can differ from the original editor's appearance.
- For radio groups and comboboxes, provide a valid initial selection. If an answer is optional, add a real option such
as export value
none, labelNot specified, and submit that value from TYPO3. An empty/unselected state is not a reliable substitute when flattening. Test empty listbox selections separately as well. - Save the PDF with its fields intact. If choice captions contain non-ASCII characters, follow Preparing choice captions below. Upload the finished PDF, load its fields in the finisher and configure the mappings. Renaming a PDF field later requires updating its mapping.
| TYPO3 form element | PDF field | Configuration and mapping |
|---|---|---|
| Text, Email | Text | Single-line; map the submitted text. An email address needs no special PDF field type. |
| Textarea | Text | Enable multiline; allow enough space and test line breaks and long answers. |
| Checkbox, LinkedCheckbox | Checkbox | Use a direct mapping such as {agree}. Booleans and the existing Yes/Off values are accepted. |
| RadioButton | Radio group | One shared PDF field name; distinct export values such as email, phone, none. |
| SingleSelect, CountrySelect | Combobox | Export values must match the TYPO3 option keys, for example at; the visible caption may be Österreich. |
| MultiSelect | Listbox | Enable multiple selection; use a direct mapping such as {languages} to preserve the array of export values. |
For example, TYPO3 identifier name can fill PDF field applicant_name with the mapping {name} → applicant_name.
A country option can submit at in TYPO3 and use export value at, caption Österreich, in the PDF. Changing only the
caption does not change the value that must be mapped. Avoid mixed expressions such as Languages: {languages} for a
listbox: mixed expressions produce text rather than a selection array.
Preparing choice captions
This step concerns text already stored in the PDF's combobox/listbox options, not submitted UTF-8 text. With the current
dragonofmercy/phppdf version, a valid PDF can still contain choice captions the library reads incorrectly. For example,
a PDFDocEncoding caption Österreich was rendered as ?terreich in the local test.
For non-ASCII choice text, the tested representation is a UTF-16BE PDF hex string with a byte-order mark. This is an internal PDF setting; selecting a different font or saving a source document as UTF-8 does not establish that the PDF uses it. There is no verified universal export checkbox for this in PDF editors. Test the actual exported PDF.
If an authoring tool does not produce compatible choice text, an integrator can prepare the template once locally. The following example rewrites only choice option strings, retaining option keys, labels and field structure. It does not repair XFA, unsupported fonts or layout problems. Work on an unsigned source template and keep the original.
Save the following as prepare_pdf_choices.py:
from pathlib import Path
import sys
from pypdf import PdfReader, PdfWriter
from pypdf.generic import ArrayObject, ByteStringObject, NameObject
source, target = map(Path, sys.argv[1:])
if source.resolve() == target.resolve():
raise ValueError("Use a separate output file; keep the original template")
writer = PdfWriter()
writer.clone_document_from_reader(PdfReader(source))
def unicode_string(value):
value = value.get_object()
if not isinstance(value, str):
raise ValueError("Choice text could not be decoded; inspect the source PDF")
return ByteStringObject(b"\xfe\xff" + value.encode("utf-16be"))
def prepare_fields(references):
for reference in references:
field = reference.get_object()
if "/Opt" in field:
options = []
for option in field["/Opt"]:
option = option.get_object()
if isinstance(option, ArrayObject):
options.append(ArrayObject([unicode_string(item) for item in option]))
else:
options.append(unicode_string(option))
field[NameObject("/Opt")] = ArrayObject(options)
prepare_fields(field.get("/Kids", []))
acroform = writer.root_object.get("/AcroForm")
if acroform is None:
raise ValueError("No AcroForm found in the template")
prepare_fields(acroform.get_object().get("/Fields", []))
writer.write(target)
Example local setup and invocation in Bash on macOS, Linux or WSL, with Python 3 installed (tested with pypdf 6.21.4):
python3 -m venv .pdf-template-tools
.pdf-template-tools/bin/python -m pip install 'pypdf==6.21.4'
.pdf-template-tools/bin/python prepare_pdf_choices.py original.pdf prepared.pdf
Upload prepared.pdf and test it through the finisher. Repeat preparation after re-exporting the template if the PDF
editor reintroduces incompatible choice text. sg-forms does not perform this conversion automatically. Python and pypdf
are local template-authoring tools only; they are not required on the TYPO3 server or during PDF generation.
Checking a template before use
- Load the PDF fields in the finisher. Check names, types and export values against the form definition.
- Generate an editable output first and inspect actual values and visible appearances for every field type.
- Test umlauts and
€in entered text and in choice captions, multiline/long text, checked/unchecked checkboxes, every radio/combobox option and multiple listbox selections. Include the unanswered/default states your form permits. - Enable flattening and submit again. Inspect the resulting PDF visually and confirm that no interactive form fields remain. Do not assume a successful download alone proves the layout or flattening is correct.
- Verify the configured download and mail attachment workflows. If generation fails, inspect the TYPO3 log.
- Repeat this check after changing the template or updating the PDF library. Retain the original template and a known good generated example for comparison. Compatibility of one prepared template is not a guarantee for other PDFs.
Generated PDFs are stored in fileadmin/sg_forms/Temp/PdfAttachments. The frontend download link uses a temporary token
(default TTL: 1 hour) and is consumed on first valid access. On this first access, the generated PDF is streamed and then
deleted. Integrators should still schedule cleanup for this directory, because generated PDFs can remain there when no
frontend download is rendered/clicked, for example when PDFs are only attached to emails. Schedule the dedicated form
submission PDF cleanup command for this:
vendor/bin/typo3 sgforms:cleanup:form-submission-pdfs --retention-period=24
The retention period is specified in hours. Adjust it to the project's retention requirements. Form Framework upload
folders in 1:/form_uploads/ are cleaned up by TYPO3 core's form:cleanup:uploads command.
The tx_sgforms_migrateformuploadcleanuptask upgrade wizard creates cleanup tasks through
DataHandler with form-style argument values. TYPO3 validates these values and converts
array arguments to their runtime representation before storing the scheduler task.
The one-time download URL is GET /api/public/v1/forms/pdf-download?token={token}. Invalid or expired tokens return a
404 RFC 7807 Problem JSON response; valid downloads are streamed with no-store cache headers.
Extension Configuration
Toggle Translation Grouping
By default, the backend module groups translated form definitions under their parent form. If you want to disable this behavior and see all form definitions as separate entries (e.g., in multi-site setups with separate language handling), you can toggle this behavior in the extension configuration of sg_forms in the TYPO3 Backend.
The setting groupTranslations can be found in the extension configuration under the "general" category.
Search in Form Manager
The overridden Form Manager view includes a search field above the form list. It filters forms by:
- form name (
label) - form
persistenceIdentifier
Backend advertisements
Advertisement data, the ViewHelper, JavaScript and their tests are synchronized from sgc-scripts.
Edit the central sources and run sgc syncBackendAdvertisements sg-forms to update them.
Campaigns for loaded TYPO3 extensions are excluded; no notice is shown when none remain eligible.
The backend notice promotes related sgalinski extensions. Dismissing it hides notices from this extension for three days
in the same browser, across tabs and logins, using localStorage. The duration defaults to
DEFAULT_DISMISS_FOR_SECONDS in the advertisement script; a positive dismissForSeconds partial argument overrides it.
Linked checkbox links
The Linked checkbox element accepts a page ID, mailto:info@example.org or
tel:+49223379090 in its Link target field. The standard TYPO3 link browser offers
pages, external URLs, files,
email addresses and telephone numbers, for both the main target and every additional link.
Existing numeric page IDs remain supported. Set Link text to the text visitors should click.
Additional links accepts the same target formats. Place links in the checkbox label
using %1$s for the main link, %2$s for the first additional link, %3$s for the second,
and so on. For example:
- Label:
Read %1$s. Contact us by %2$s or %3$s. - Main target:
123, link text:our privacy policy - First additional target:
mailto:info@example.org, link text:email - Second additional target:
tel:+49223379090, link text:telephone
Without a placeholder, the main link is appended to the label. Write %% for a literal
percent sign. Telephone numbers may contain spaces, parentheses, slashes, dots and hyphens;
these are removed from the link target. Native t3://page?uid=123 links, page anchors,
email subjects, external URLs, t3://file?uid=42 file links and encoded
typolink values returned by the browser are supported. Target resolution uses TYPO3’s
registered link handlers.
Unsupported or malformed targets remain plain text.
Page links continue to open in a new tab by default; email and telephone links do not.
The browser only offers pages, external URLs, files, email and telephone links. Folder targets are not supported. The additional-parameters field is only offered for page links because TYPO3 does not apply it to file and telephone URLs.