Add input validation on create page