Highlighted

CPAPI_VARIABLEVALUECHANGED and the leading zero

Explorer ,
Apr 13, 2020

Copy link to clipboard

Copied

Working with JavaScript, I am trying to capture and evaluate learner entry of a date into a simulation of software tool. The date must be entered in the mmddyy format. 

Using the Event Listener CPAPI_VARIABLEVALUECHANGED is working great EXCEPT that it does not reconize a 0 when entered first. 

Has anyone overcome this problem?

Views

15

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CPAPI_VARIABLEVALUECHANGED and the leading zero

Explorer ,
Apr 13, 2020

Copy link to clipboard

Copied

Working with JavaScript, I am trying to capture and evaluate learner entry of a date into a simulation of software tool. The date must be entered in the mmddyy format. 

Using the Event Listener CPAPI_VARIABLEVALUECHANGED is working great EXCEPT that it does not reconize a 0 when entered first. 

Has anyone overcome this problem?

Views

16

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation
Resources
Captivate User Guide
New Group