Project

General

Profile

Actions

Bug #69354

closed

EXT:form - Date validator does not output message (hint)

Added by Björn Jacob over 8 years ago. Updated over 6 years ago.

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

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using the "date" validator there is no message (hint) displayed. Instead of the "real" message the output is "(--)". Also see screenshot.


Files

forms_date_hint.png (64 KB) forms_date_hint.png Björn Jacob, 2015-08-27 13:52
Actions #1

Updated by Björn Jacob over 8 years ago

  • Category set to Form Framework
Actions #2

Updated by Björn Jacob over 8 years ago

  • Subject changed from Forms: date validator does not output message (hint) to EXT:form - Date validator does not output message (hint)

This is fixed in TYPO3 7.5. It should also be fixed for 6.2.

Actions #3

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New 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/43478

Actions #4

Updated by Gerrit Code Review over 8 years ago

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/43480

Actions #5

Updated by Gerrit Code Review over 8 years ago

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

Actions #6

Updated by Björn Jacob over 8 years ago

  • Target version set to 6.2.15
  • TYPO3 Version changed from 7 to 6.2
Actions #7

Updated by Björn Jacob over 8 years ago

  • Target version changed from 6.2.15 to 6.2.16
Actions #8

Updated by Björn Jacob over 8 years ago

Example form to test with:


prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = your@mail.com
        senderEmail = your@mail.com
    }
}
10 = TEXTLINE
10 {
    name = birth
    label {
        value = Date of birth
    }
}
20 = SUBMIT
20 {
    name = submit
    value = Submit
}
rules {
    1 = date
    1 {
        breakOnError = 0
        showMessage = 1
        message = (%format)
        error = No date!
        format = %e-%m-%Y
        element = birth
    }
}

Actions #9

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43493

Actions #10

Updated by Ralf Zimmermann over 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF