Enrique Moreno Tent
Enrique Moreno Tent

Reputation: 25307

TYPO3: remove powermail validation

i've installed Powermail 1.6.8 in a TYPO3 version 4.5.

When I click on submit on an empty form, some error messages come that can#t be styled since they have inline styles. I would like to use a jQuery plugin to check the validation. How can I deactivate the normal powermail validation?

Upvotes: 0

Views: 3928

Answers (3)

Miriam Kury
Miriam Kury

Reputation: 1

If you want to use only the browser-internal validation you can disable the php and js validation through "Constant Editor" --> "Powermail Additional" --> uncheck both checkbox. See attached screen.

enter image description here

Upvotes: 0

Bharat Parmar
Bharat Parmar

Reputation: 1880

You need to just add

page.includeJSFooterlibs.powermailJQueryFormValidationLanguage >
page.includeJSFooterlibs.powermailJQueryFormValidation >

in your setup TS

Upvotes: 0

Franky W.
Franky W.

Reputation: 188

I don't know if you have already found a solution, but by default you can change this with TYPO3 Constants:

plugin.powermail.js.validation = 0

If you select 'Template' and select "Constants Editor" in the dropdown that pops up in the third column (Backend), you are able to change a lot of settings yourself.

There is another setting that disables all javascript form validation and "special" input types from Powermail:

plugin.powermail.js.alwaysInclude = 0

More constants and setup for your Powermail 1.6.8 can be found here.

Upvotes: 2

Related Questions