Form validator almost finished