Express form - additional validation

We’ve been asked by a client to include an additional confirmation phone field to their contact forms and to validate that both the initial phone and the confirmation phone numbers match before submitting the form.

Is anyone aware of a way to add specific validation to an express form?

Form Reform can do that :slight_smile:

Yeah, but it requires some custom coding.
You will find some info in documentation pages.
But beware, it requires some programming knowledge, since modifying anything express-form-related is a bit “enterprise’y” (you have to create php classes here and there and stick them together).

I also suggest putting all those modifications into package to keep them in one place.

I have example package on my github (where I have showcased how to modify different elements of express forms), but unfortunately I haven’t placed validation example there yet.