I have a question for everyone. I am using an input box for inserting the answer. However, the answer is 006. This causes an issue for me as I am not able to correctly check that the answer is typed in EXACTLY like that, because Lectora automatically dismisses the first two zeros. Does anyone have any answers to this issue?
The input is not the issue. It’s the return that the input provides that becomes a problem. If I put 006 in the entry field it only reads 6. Please download the attachment and use it. You may have to add an output for the CLS field, so that you can see what’s being put out.
Andy – Could you post the title/page as a zip? I tested in 16.2 and am able to get output that retains the exact entry with the leading zeros in both a question (entry) and a standalone entry field. One possible alternative, depending on your use case, may be to set a separate variable from the entry field, then use that variable for the return value. You could use an OnSelectChange that modifies the variable (i.e. “return”) with the variable name for the entry field (i.e. Entry_0001).
Otherwise, the zip or maybe clarification on what you mean by return could help with a solution!