Added null validation for Submit View