Form Validation in Elm

Enrico Buonanno

Enrico Buonanno

I obtained an MS in Computer Science at Columbia University in 2001 and have been working as a software developer and architect since. I worked in FinTech, online auctions and other areas, using a number of different languages and technologies. I wrote a book on Functional Programming in C# with Manning.

About the Course

Validating forms can be quite a challenge. You not only need to write the logic for validation, but also keep track of the user's interaction with the form, to ensure a smooth user experience. If you've decided that the browsers' constraint validation is not for you, then this course teaches you how to perform validation using pure Elm code. In the process, we will touch upon several Functional Programming techniques that come in handy

As a starting point, we take the simple contact form built in my course on the Elm Architecture. This course assumes you are familiar with the basics of the Elm Architecture and the Elm type system.