--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- You could consider having Error as a generic tag and let it take a String. That way you could populate with an error message in your validate function. That would make the viewValidation function slightly simpler.
Btw you probably don't want to print out the password when displaying the error msg :-) sort of defeats the purpose of using input type password to hide it.