Added validation on regform
Merge remote-tracking branch 'origin/master'