I am working on creating an interactive training where the user is only allowed to advance if they enter a string into a text box that contains certain characters (@ and '.com') Is there a way that I can do this? On the trigger it appears that I can only use 'equal to' and I'd like to do more of a 'contains' criteria. Just want to make sure I'm not missing anything.
Hi there Leah! It sounds like you're working with a text entry that has multiple correct answers, i.e. anything that contains @ and .com. Javascript is likely the way to go here, and we have quite a few Java-savvy folks in the community who can help with this!
Yes that is correct, unfortunatly my javascript knowledge is hazy to say the least! :) Hopefully someone is able to offer some insight on how to perfect the formula!
2 Replies
Hi there Leah! It sounds like you're working with a text entry that has multiple correct answers, i.e. anything that contains @ and .com. Javascript is likely the way to go here, and we have quite a few Java-savvy folks in the community who can help with this!
In the meantime, take a peek at our JavaScript Best Practices!
Yes that is correct, unfortunatly my javascript knowledge is hazy to say the least! :) Hopefully someone is able to offer some insight on how to perfect the formula!
This discussion is closed. You can start a new discussion or contact Articulate Support.