Forum Discussion
Disabling the Enter Key for Text Interactions
I am having an issue similar to the ones in this post but a little different. I am trying to stop users from entering an answer that has already been entered. I did this by adding a trigger that checks for previous answers and then shows a layer to indicate to the user that the answer has already been used.
My issue is that when the user clicks on the submit button on the 2nd question, the interactions works as I have intended. If the user simply hits the enter key, somehow, my added trigger is bypassed and the answer is accepted as correct even if it has already been used in a previous question.
I am attaching my file to see if anyone has any suggestions. The acceptable answers are budgeting, banking, insurance, mortgages, investments, retirement planning, and tax and estate planning. Any help would be greatly appreciated.
- JenJennifer-a847 years agoCommunity Member
Add another trigger for all the triggers that show already entered layer and make the modification to this new trigger to show already entered layer when user presses a key "enter" with same conditions. Refer to the story file attached, i have added the new modified trigger for banking. similarly add it for all other fields as well.
- MatneyJorgen0057 years agoCommunity Member
Thank you so much for your idea. These adjustments have forced my layer to appear, but then the slide seems to get stuck in some unknown state. I am not able to change the answer to something else or submit the question again.
Related Content
- 10 months ago