- Getting Started
- General Options
- Loggers
- Debuggers
- AjaxHandler
- PreProcessors
- Interceptors
- Validators
- Generators
- Finisher
- Session
- Error Checks
- Templates
- Subparts
- ###TEMPLATE_FORM[1...x]###
- ###TEMPLATE_FORM[1...x][SUFFIX]###
- ###FORM_STARTBLOCK###
- ###FORM_ENDBLOCK###
- ###TEMPLATE_EMAIL_ADMIN_PLAIN###
- ###TEMPLATE_EMAIL_ADMIN_HTML###
- ###TEMPLATE_EMAIL_USER_PLAIN###
- ###TEMPLATE_EMAIL_USER_HTML###
- ###TEMPLATE_SUBMITTEDOK###
- ###TEMPLATE_ANTISPAM###
- ###TEMPLATE_PDF###
- ###ISSET_[FIELDNAME]###
- ###HAS_TRANSLATION_[KEY]###
- ###IF_[FIELDNAME]=[value]###
- Subpart Markers
- ###value_[fieldname]###
- ###LLL:[langkey]###
- ###error_[fieldname]###
- ###is_error_[fieldname]###
- ###is_error###
- ###validate_[fieldname]###
- ###REL_URL###
- ###ABS_URL###
- ###submit_nextStep###
- ###submit_nextStep_[suffix]###
- ###submit_prevStep###
- ###submit_prevStep_[suffix]###
- ###submit_reload###
- ###submit_step_[stepnumber]###
- ###FEUSER_[property]###
- ###required_[fieldname]###
- ###requiredMarker_[fieldname]###
- ###CAPTCHA###
- ###RECAPTCHA###
- ###MATHGUARD###
- ###ERROR###
- ###[fieldname]_minSize###
- ###[fieldname]_maxSize###
- ###[fieldname]_maxTotalSize###
- ###[fieldname]_currentTotalSize###
- ###[fieldname]_remainingTotalSize###
- ###[fieldname]_allowedTypes###
- ###[fieldname]_maxCount###
- ###[fieldname]_fileCount###
- ###[fieldname]_remainingCount###
- ###[fieldname]_uploadedFiles###
- ###total_uploadedFiles###
- ###selected_[fieldname]_[fieldvalue]###
- ###checked_[fieldname]_[fieldvalue]###
- ###curStep###
- ###maxStep###
- ###lastStep###
- ###step_bar###
- ###formValuesPrefix###
- ###formID###
- ###[action]_LINK###
- ###TIMESTAMP###
- ###auth_code###
- ###value_authCodeUrl###
- ###field_[masterkey]_[fieldname]###
- ###HIDDEN_FIELDS###
- ###validation-status###
- ###embed_[key]###
- Subparts
- Backend Module
Validators
You can enter as many Validators as you like. Each entry requires a class name of the Validator. Optionally you can enter a specific configuration for the Validator in the config section. For detailed information about the available error checks have a look at the section Error Checks.
Version added
1.0.0
TypoScript path
plugin.Tx_Formhandler.settings.validators
Example code
validators.1 { class = Tx_Formhandler_Validator_Default /* * Some times you maybe want to disable error checks if the user * filled out a specific fields or else. * Temporary disable error checking for the entered fields by setting * this option. */ config { disableErrorCheckFields = firstname,lastname fieldConf { firstname.errorCheck { 1 = required 2 = maxLength 2.value = 20 } email.errorCheck { 1 = required 2 = email } } } } validators.2 { class = Tx_MyPackage_ Validator config { param = value } }
Validator_Default
This is the default Validator. It supports all available error checks.
Validator_Ajax
This validator is called when using AJAX validation. Please do not add this class manually to your TypoScript.