Feature #3722
Available error checks 'disabled'
| Status: | Closed | Start date: | 2009-06-22 | ||
|---|---|---|---|---|---|
| Priority: | Should have | Due date: | |||
| Assignee: | Reinhard Führicht | % Done: | 90% |
||
| Category: | Code and Architecture | ||||
| Target version: | Beta v1.0 | ||||
| Votes: | 0 |
Description
Version 1.1.0 T3 Repository - 16.06.2009
Missing the TS errorCheck value 'disabled' or 'none'.
Needed to overwrite and nullify existing error pages for conditions.
Example (taken from Multipage Conditions EXT Example):
# ## EXT_MAILFORMPLUSPLUS CONFIGURATION begin ## #
##### CONDITION #####
[globalVar = GP:mailformplusplus|contact_via=phone]
plugin.F3_MailformPlusPlus.settings.predef.multistep.2 {
templateSuffix = _phone
###############################################################
## VALIDATORS CLEARED, BUT STILL GET ERROR 'STREET REQUIRED' ##
###############################################################
validators >
validators.1.class = F3_MailformPlusPlus_Validator_Default
validators.1.config.fieldConf.phone.errorCheck.1 = required
#########################################################
## NEED OPTION TO DEFINE STREET ERROR CHECK AS FOLLOWS ##
#########################################################
validators.1.config.fieldConf.street.errorCheck.1 = disabled
}
[global]
##### STEP 1 CONFIGURATION #####
...
##### STEP 2 CONFIGURATION #####
plugin.F3_MailformPlusPlus.settings.predef.multistep.2 {
validators {
1.class = F3_MailformPlusPlus_Validator_Default
1.config {
fieldConf {
street.errorCheck.1 = required
}
}
}
}
##### MAIN CONFIGURATION #####
...
# ## EXT_MAILFORMPLUsPLUS CONFIGURATION end ## #
Associated revisions
[Bug 3722] Add some checkboxes for displaying additional fields in the contact form, r=bernd
[Bug 3722] Add some checkboxes for displaying additional fields in the contact form (follow-up), r=bernd
History
Updated by Reinhard Führicht almost 4 years ago
There is already a TypoScript option which should do the job:
plugin.F3_MailformPlusPlus.settings.predef.multistep.2 {
validators {
1.class = F3_MailformPlusPlus_Validator_Default
1.config {
disableErrorCheckFields = street
}
}
}
This setting is mentioned in the TypoScript config section of the Validator. Have you tried this out?
Updated by DC almost 4 years ago
- Assignee set to Reinhard Führicht
- % Done changed from 0 to 90
Must have missed this in the Reference Manual. Haven't tried it out because my TS has completely changed and is working at the moment.
Updated by Reinhard Führicht almost 4 years ago
- Status changed from New to Closed