Wellformed provides easy form validation, filtering, and packaging of errors and values. Keep your controllers and models clean by separating form logic.
var Form = FormLoginForm = moduleexports = Form; // LoginForm
Wellformed supports dot notation for inputs using array notation.
Let's take a payment form for example:
<!-- Ignoring name and billing address for the sake of brevity -->Payment
var Form = FormOrderForm = moduleexports = Form; // Form.extend
You can see in the code above, when using inputs in array notation, we name the elements keys with dot notation. The output of getErrors and getValues will then be nested as well.