I have form in infopath where I have created a text box which copies the content and pastes on to different field, when pushed a button. Rules behind the button
concat(Usernameafter, " : ", beforenow, " ", afternow, " ", NewLine, Break, Comments)
where in username after is a hidden field in the form ...