I am wondering if it is possible to set a conditon to make a text entry field require a certain number of characters?
For example: Say an employee number is 123456, and a user types 12345; could an error message pop up stating that the employee number they entered is not long enough? Any help is appreciated!
You can do this with a Javascript that checks the length of the NumEntry string. Here is an example: http://dev.keypointlearn.com/xcl71_SL/TEBContains/V2/story.html . Wit the correct length, the user advances to the next slide. If an entry is not a six-digit entry, a layer with a message is displayed. Hope that helps.
3 Replies
You can do this with a Javascript that checks the length of the NumEntry string. Here is an example: http://dev.keypointlearn.com/xcl71_SL/TEBContains/V2/story.html . Wit the correct length, the user advances to the next slide. If an entry is not a six-digit entry, a layer with a message is displayed. Hope that helps.
Thanks Michael for helping out Brian here!
Thank you for the help!
This discussion is closed. You can start a new discussion or contact Articulate Support.