Implemented form null checks.