SetFocus on text entry box

Aug 28, 2015

Hi, I am trying to help a client add validation to a registration form in Articulate using JavaScript.
The validation is working for a date of birth field (checking age over 18, date format, and data entered),
but if any one of these criteria fails, I want to set focus back on the date of birth textbox.

I have tried using the various document.getElement fucntions, but none are working.

Is there a way to set focus on a textbox in Articulate? Also, is there anyway to completely stop the course? Anything at all
that will stop the user from moving forward.


5 Replies

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