Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #309569 Score: 0
    Profile photo of switalba Switalski
    switalba Switalski
    Member
    beginner
    intermediate
    advanced
    contributor
    profile
    picture perfect
    Group Member
    curious george
    wise owl
    friend finder
    2 pts
    @switalba

    I have a VAR with have a value of  “Added on VAR(CurrentDate): VAR(Entry_0001)
    [End] — ” so it appears in a printable document.  The user can add multiple time to the entry field to allow a continuous journal but it looks like the following:

    “Added on Thursday, April 07, 2016: 1st note added to the entry field. [end]— added on Thurdsay, April 07, 2016: 2nd note added to the entry field [end] —”

    This is all good but I would like the remove the “[end] —” portion, but that’s what tells the learner that specific comment was finished.  How do I get a hard carriage return to happen so that each entry begins on a new line?

     

    #309570 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    317 pts
    @timk

    Add \r to the variable:

    Added on VAR(CurrentDate): VAR(Entry_0001)\r

    Tim

    This post has received 3 votes up.
    #309717 Score: 0
    Profile photo of switalba Switalski
    switalba Switalski
    Member
    beginner
    intermediate
    advanced
    contributor
    profile
    picture perfect
    Group Member
    curious george
    wise owl
    friend finder
    2 pts
    @switalba

    This didn’t work for me…what did I do incorrectly?  I put the \r outside the ( ) item, but all it did was show the “\r” as text.

    #309727 Score: 0
    Profile photo of switalba Switalski
    switalba Switalski
    Member
    beginner
    intermediate
    advanced
    contributor
    profile
    picture perfect
    Group Member
    curious george
    wise owl
    friend finder
    2 pts
    @switalba

    That didn’t work for me…do you have any ideas to what’s I’m doing incorrectly.  Below is my line item:

     

    Added on VAR(CurrentDate): VAR(Entry_0003)\r [End] —

     

    Thanks for your help.  I’m trying to use variables more and more and could use any recommendations to learn.

    Billi

    #309755 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    317 pts
    @timk

    Maybe my use of the term variable was imprecise in this context. I’ve created a course with a simple commenting feature. Comments a added to a variable that’s put into a textfield to be printed:

    https://community.trivantis.com/shared-content/breaks-in-variables/

    Tim

    P.S. I should have added conditions to all actions on the “Save” button:

    Only if “Entry_0001” is not empty

    and to the actions on the “Print” button

    Only if “notes” is not empty.

    This post has received 2 votes up.
    • This reply was modified 3 years, 7 months ago by Profile photo of Tim K Tim K.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.