Explore the community Forums Lectora Lectora Questions & Answers Formatting in-line variables Reply To: Formatting in-line variables

#421768 Score: 0
Profile photo of Lydia B
Lydia B
Member
beginner
intermediate
curious george
wise owl
friend finder
contributor
@lb1730

Hi Tim,

Formatting text in the text fields would work perfectly, as I just need the numbers to display as a number with comma as a separator. However, I believe that it would have to be done with JavaScript ,since Lectora does not give an option to format numbers with comma as a separator. At least I was not able to find it.

The correct answer is A1+A2+A3-A4-A5-A6 and it is calculated in A7.  On  submit (not in the sample) A7 is compared to Entry_0001 (left field) and Entry_0002 (right field) is empty for this particular question.

Thank you for looking at this.