Added validate to Form

Added validate to Form