Leading zeros WITHOUT javascript

Jun 23, 2016

Does anyone have any way to show leading zeros without the use of javascript?

1 Reply
Christie Pollick

Hi, Gareth -- Thank you for your question, and I decided to reach out to a few of my colleagues for their input on your query. It was hypothesized that if you're asking learners to enter digits for something like an account number, if you use a numeric data entry, it would not store the leading zeroes (for example, an account number of 0009922). If that is the case, perhaps you might consider using text variables as an option. 

Otherwise, I know that you mentioned specifically that you would like to stay away from using JavaScript, but I thought I might pass the following discussions related to leading zeros for others who may come across this topic, as well:

 Or perhaps others in the community can stop in to shed a bit more light, as well! 

This discussion is closed. You can start a new discussion or contact Articulate Support.