form validate changes