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.
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.
- Status changed from New to In Progress
- Assignee set to Björn Jacob
- 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
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
}
}
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF