Added form vality check
Merge remote-tracking branch 'origin/master'