Explore the community Forums Lectora Lectora Suggestions VAR(Assesment_Score) Reply To: VAR(Assesment_Score)

#362551 Score: 1
Profile photo of Daryl Fleary
Daryl Fleary
friend finder
LUC16 Attendee
wise owl
verified member
17 pts

The reason this occurs is that when we introduced the convenience of in-line variable replacement – so that you can put a variable into a text string, such as “Hello, VAR(Name)”  – Lectora/Lectora Online view that information as plain text, until the title is run. At that time it recognizes it as a variable because of the VAR() syntax. So when you are editing and change the name of your variable, Lectora/Lectora Online does not see that as a variable yet and therefore does not change it.

You are using: ChangeContents -> Target Text block,  Value -> Set Text,  Text -> Var(Assesment1_Score)

If you use: ChangeContents -> Target Text block,  Value -> Var(Assesment1_Score)

… (not “Set Text”) you’ll be okay when the variable name changes.

This post has received 1 vote up.
  • This reply was modified 3 years, 2 months ago by Profile photo of Daryl Fleary Daryl Fleary.