Revision of new line event trigger and styles of advanced form. #286