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.
Thanks!
5 Replies
Hi Melanie! Hopefully someone in the community will be able to assist you with this. JavaScript is not my expertise :)
Are you working with this user as well? Eerily similar posts :)
Yes. She asked me to post the message as her posts weren't appearing. We've been working together on this course for a while ;)
If you feel a need to close one post and just work off the other, that's fine with us ;)
No worries at all :) Just keeping them linked is key in the forums for anyone else that may follow along.
This discussion is closed. You can start a new discussion or contact Articulate Support.