Geee
Geee

Reputation: 2249

How to create custom validation for email conformation in the TYPO3 powermail extension?

I want to implement email conformation field just like password conformation. for ex: user add email address in the first field and conform with other field. both must be same.

Upvotes: -1

Views: 1459

Answers (2)

Alex Kellner
Alex Kellner

Reputation: 1299

The manual gives some helpful examples: Add new validators

There are three subpages where you can find examples how to create:

  • a new validation type for input fields
  • a global serverside validator
  • a global clientside validator

Upvotes: 1

Pravin Vavadiya
Pravin Vavadiya

Reputation: 3207

You can use below typoscript for custome powermail validation. Using powermailextended extension.

plugin.tx_powermail {
     settings.setup {
             validation {
                     customValidation {
                             100 = In2code\Powermailextended\Domain\Validator\your_php_file_name
                     }
             }
     }
     _LOCAL_LANG.default.validationerror_validation.100 = Please add a ZIP with 8 begginning
}

Upvotes: 1

Related Questions