Forum Discussion
Disable next button until user enters text into all text entry fields on slide
Hello- I have been successful in disabling the player next button in drag and drop situations and in counter situations but I cannot figure out how to disable the next button until the user has entered text in several text boxes on the slide.
Thanks in advance!
41 Replies
- MargaretMurphy1Community Member
Hi all,
I was going to post the same question but since a conversation related to this subject was already started I thought I would post here. I am having similar trouble to Marcella and *think* I understand and correctly applied the solutions discussed here but I still can't get my slide to function the way I want it to.
In the Self Check slide, I want the students to HAVE TO fill in all four text entry fields before they can move on to the next slide. As Greg suggested I created a layer called "Unfinished" that students get if they try to submit less than all four answers. That trigger seems to work fine.
My issue I am experiencing is that even if all four data fields have text I STILL get the Unfinished layer appearing rather than going to the next slide. I thought I built the trigger correctly but I need a second (or third or fortieth) pair of eyes to help me.
Thanks in advance
- GregFaustCommunity Member
Margaret, check the conditions on the second trigger on your Next button. It's showing for me that the fourth condition is "OR TextEntry4 != Not equal to (blank)". I believe it should be "OrTextEntry4 == Equal to (blank)", like the other three conditions.
- ChristiePollickCommunity Member
Good suggestion, Greg! Margaret, please let us know if this works for you or if you still need additional assistance. :)
- MargaretMurphy1Community Member
Oh my gosh, that was it! Thanks Greg and all!
Glad to hear it. Thanks for the update Margaret :)
- ChristiePollickCommunity Member
Fantastic news, Margaret! Delighted to hear you are all set.
- SarahBurgartCommunity Member
- WendyFarmerSuper Hero
Hi Sarah
can you see that each of the text entry fields are validating correctly?
Might be easier if you upload the slide for someone to help if they can work with your setup
Update: I did a sample based on your image with triggers and its working for me unless I misunderstand what you are doing
- SarahBurgartCommunity Member
Wendy, with your upload, it shows the layer even if I don't enter anything into the fields - which I don't want. I don't care what they put into the fields, but I want the learner to be unable to proceed until they enter something in each field.
I will work on figuring out how to upload the slide itself.
I also noticed you didn't set a default value for the text boxes - I couldn't figure out how to use them without doing that ...
- WendyFarmerSuper Hero
Hi Sarah my sample was done blind by just looking at the image you supplied with no other information. Glad you got it sorted out.
Hi Sarah,
You may also want to look at trigger order to ensure it's set up correctly, as they'll be executed in the order described here. If you're still having difficulty please share your .story file here as Wendy mentioned and we'll gladly take a look at the set up and behavior.
- SarahBurgartCommunity Member
There's only one trigger attached the the button I want to use to show the next layer.
- GregFaustCommunity Member
Sarah, are you intentionally doing this differently from what the original post was trying to do? In the OP, the idea was to let the "Jump to Next Slide" trigger function only if the student has put something in every text entry. Assuming "000" is the default value of your textentry variables, it looks like you've made it so the layer "touch" only appears when the student has put something in every text entry.
- SarahBurgartCommunity Member
Yes. I am intentionally showing a layer instead of jumping to the next slide.
Related Content
- 2 years ago