Feature #83672

Add client-side validation to EXT:form

Added by Georg Ringer over 3 years ago. Updated over 1 year ago.

Must have
Form Framework
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Sprint Focus:


To be able to use EXT:form just as it is, a JS validation is required

Related issues

Related to TYPO3 Core - Feature #31094: Integrate client-side validationClosed2011-10-19


Updated by Georg Ringer over 3 years ago


Updated by Georg Ringer over 3 years ago

  • Subject changed from Add frontend validation to EXT:form to Add client-side validation to EXT:form

Updated by Bjoern Jacob over 3 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Georg Ringer

As mentioned in the linked ticket: which solution/ framework would you prefer? Should this really be part of the core? What do you think of the following solution? https://github.com/svewap/form_validate

We do not have this feature on the roadmap for v9 but we would appreciate having a discussion on how to handle this feature.


Updated by Riccardo De Contardi about 3 years ago

I am not sure that I would agree.

This would mean that you will depend on

- jQuery (probably)
- the library that you have chosen

Some questions come in my mind (as integrator):

- If I have already included jQuery I have to hunt down where EXT:forms include it and remove it
- What happens when these libraries will be updated?
- What library would be used? Parsley? Formvalidation.io? And what if I want to use Abide?

Don't take me wrong, I think that there is nothing insurmountable here; but (my personal opinion) I prefer that TYPO3 remains as much as possible "agnostic" from javascript libraries.

I would totally be in favor of these:

1) (if not already done) add all possible browser-side validation to all components (required, type=email, etc)
2) Create a documentation page about how to add a client-side javascript validation with full examples of several libraries. Plus, a button somewhere in TYPO3 backend that links you to this documentation could be cool.
3) Add one of these validations to the packages (like the introduction package, etc)


Updated by Georg Ringer about 3 years ago

  • Status changed from Needs Feedback to Accepted

@Riccardo: Just as in powermail, which means you can as integrator decide if you want to include jQuery yourself or not or if you do your own implementation.

@Bjoern: Just as form uses bootstrap by default, it is IMO fine to add for the moment 1 TS file to be included which uses jQuery to cover the 95% of usages.

It is a fact that powermail is used so often because it works out of the box and client side validation is missing in EXT:form.


Updated by Georg Ringer over 2 years ago

  • Assignee deleted (Georg Ringer)

Updated by Christian Eßl over 1 year ago

Would be a very useful feature for ext:form.
My suggestion is to not supply any JS at all but provide only a generic ajax validation API that makes it easy to hook any js validation library into it and provide a documentation page that shows off how you can utilize the ajax validation in js with one of the more popular js validation frameworks. (but I have no idea what is en vogue right now, the js community is changing so quickly)


Updated by Bjoern Jacob over 1 year ago

  • Status changed from Accepted to Rejected

Right now, we do not want to work on this topic (at least not for v10 and v11). There are other topics on the roadmap. As discussed during the T3CMD, we do not see such a feature in the core at the moment.

Also available in: Atom PDF