Project

General

Profile

Actions

Task #70503

closed

EXT:form - Remove breakOnError option from wizard and add documentation

Added by Björn Jacob about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
Start date:
2015-10-08
Due date:
% Done:

100%

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

Description

The validation option "breakOnError" is not supported anymore. The option has to be removed from the wizard. Furthermore the missing document for this breaking change has to be added.

Actions #1

Updated by Björn Jacob about 9 years ago

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

Updated by Gerrit Code Review about 9 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/44123

Actions #3

Updated by Björn Jacob about 9 years ago

Example form. There is a breakOnError option to demonstrate that the wizard does not touch it during a save process:


enctype = multipart/form-data
method = post
novalidate = novalidate
prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = your@mail.com
        senderEmail = your@mail.com
    }
}
10 = TEXTLINE
10 {
    type = text
    class = hasClass
    id = hasId
    autocomplete = on
    name = surname
    placeholder = Surname
    required = required
    label {
        value = Surname
    }
}
20 = SUBMIT
20 {
    type = submit
    class = hasClass
    id = hasId1
    name = 3
    value = Submit form
}
rules {
    1 = required
    1 {
        breakOnError = 1
        showMessage = 1
        message = Required
        error = This field is required
        element = surname
    }
}

Actions #4

Updated by Gerrit Code Review about 9 years ago

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

Actions #5

Updated by Björn Jacob about 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF