MLP form validator