Input Box Problem with Zeros

akrayenhagen9721
Community Member Posts: 22 ☆ Roadie ☆
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?
Comments
-
-
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! -
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products