Front end validation added to create cause and edit cause