Project

General

Profile

Actions

Task #33952

closed

Epic #69347: EXT:form - Optimize form wizard

Mailform - required checkbox in wizard

Added by berger benjamin about 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Form Framework
Target version:
Start date:
2012-02-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hi there

When composing a mailform in the TYPO3 BE, it is possible to set it as a "required" field.
But the check does not apply when using the form in the FE.

This is needed for example in a little form where one needs to accept the "terms and conditions".

Best regards
Ben / amrun

ps: we suppose it could be done as follows:

file: typo3/wizard_forms.php
line: 462
old: if (t3lib_div::inList('check,hidden,submit,label',$confData['type'])) {
new: if (t3lib_div::inList('hidden,submit,label',$confData['type'])) {


Files

result_ 33952.png (30.9 KB) result_ 33952.png Oliver Hader, 2015-09-16 11:49
Actions #1

Updated by Stanislas Rolland about 12 years ago

  • Category set to Form Framework
Actions #2

Updated by Arne-Kolja Bachstein about 11 years ago

This can be done using the following (page) TS:

mod.wizards.form.elements {
    checkbox {
        showAccordions = label, attributes, validation
        accordions {
            validation {
                showRules = required
            }
        }
    }
}

It works like a charm, but should really be in the default TS.

Actions #3

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from 4.4.14 to 7.5
  • Is Regression set to No
Actions #4

Updated by David Lemaitre about 9 years ago

This TS code works nice in 6.2. Agree that should be default config, not a "hidden feature".

Actions #5

Updated by Björn Jacob almost 9 years ago

  • Category changed from Form Framework to 1602
Actions #6

Updated by Björn Jacob almost 9 years ago

  • Category changed from 1602 to Form Framework
Actions #7

Updated by Björn Jacob over 8 years ago

  • Tracker changed from Bug to Task

This could be applied for TYPO3 v7.

Actions #8

Updated by Björn Jacob over 8 years ago

  • Subject changed from Mailform - Required Checkbox to Mailform - required checkbox in wizard
Actions #9

Updated by Björn Jacob over 8 years ago

  • Parent task set to #69347
Actions #10

Updated by Björn Jacob over 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Björn Jacob
Actions #11

Updated by Gerrit Code Review over 8 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43357

Actions #13

Updated by Björn Jacob over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF