Thank you for looking into it again. How do I add the additional variable at the bottom?
Could you attach this same file you worked with? I am not a programmer by training, so I will need to see what you have done and take it apart. Not very good with variables.
I don't believe I saved my version of that once I saw it working - adding the variable reference at the bottom though is very easy to do as shown here. I didn't make any other changes to your file - but just was confirming the variables were being set once I clicked outside the text entry (allowing them to lose focus and set the text entry). Also, since there are spaces and other characters, it's important that they are typed exactly as you have them set - or else it will return an incorrect result.
Hi Mark! This thread is a bit dated and Jeanette doesn't make it back to the forums often. Would you be able to share your .story file or a sample .story file so that we can see what you are dealing with?
Hi Mark! Thanks for sharing the file. I was able to take a look and there were a couple of issues:
You had the state of the correct/incorrect button set to change to selected when the user clicked on them, which would never happen since they are off-slide.
The Incorrect button had the wrong If statement referenced.
I think it's working as you wish now. I'm re-attaching your file.
I am very new to storyline (using storyline 2) and I'am attempting to recreate the video. I keep getting an incorrect answer stating "you must complete the question before submitting." Any quidance on how to fix the issue would be greatly appreciated :).
That error message is what indicated the user didn't select or chose any answers yet - so if you think you've selected an answer and you're still seeing that it sounds like something we'd want to take a look at your .story file to see how it's set up and behaving.
Thank you very much for the quick response Ashley and Wendy. I didn't even think about the order of the triggers. That fixed my problem! Thank you both so much!
OK, I'm obviously doing something wrong. I attempted to set up the variables and conditions as I thought were done in the video, but when I test the slide two errors happen. 1) the names of the various bird parts show up rather than the text "type your text here" and 2) when I hit submit I'm told to complete all the answers before submitting. Where am I going wrong?
I've attached the slide I'm working with. Have only been working on the trigger for the correct button.
first thing - in the variable list you had already entered the default value to equal the answer - these should be left blank that is why you were seeing them already displayed on the slide.
A couple of the variables were mis matching in your triggers.
I've updated your file and also moved the correct/incorrect buttons and added text boxes with the variable references - we do this to test that things are happening as they should be with the variables - you can remove them when you want to.
You'll also need to add a trigger to change state of 'incorrect' button to selected if they get any wrong. The easiest trigger to do is:
Change state of 'incorrect' button to selected when user clicks submit on condition state of correct button is not 'selected'. The alternative trigger is:
Change state of 'incorrect' button to selected when user clicks submit on condition that each of the fields is not equal to the correct answer - you used the AND condition in the correct trigger use the OR condition for the incorrect trigger.
94 Replies
Dear Ashley,
Thank you for looking into it again. How do I add the additional variable at the bottom?
Could you attach this same file you worked with? I am not a programmer by training, so I will need to see what you have done and take it apart. Not very good with variables.
Hi Enna,
I don't believe I saved my version of that once I saw it working - adding the variable reference at the bottom though is very easy to do as shown here. I didn't make any other changes to your file - but just was confirming the variables were being set once I clicked outside the text entry (allowing them to lose focus and set the text entry). Also, since there are spaces and other characters, it's important that they are typed exactly as you have them set - or else it will return an incorrect result.
Thanks Ashley. I shall looking into the link given.
Hi Jeanette
I don't know whats wrong but I keep getting invalid answer to the the correct answers?
Hi Mark! This thread is a bit dated and Jeanette doesn't make it back to the forums often. Would you be able to share your .story file or a sample .story file so that we can see what you are dealing with?
How do I do that Sorry I am new to this
Think this Is what you want Leslie???
Yes, I'll take a look :)
Hi Mark! Thanks for sharing the file. I was able to take a look and there were a couple of issues:
I think it's working as you wish now. I'm re-attaching your file.
Thank you Leslie.... That is fantastic!!! Thank you very much......
No problem Mark :)
I can't seem to get this to work. IT says that I have to complete everything in order to submit it even when I do.
Hi Katelin! Do you have a .story file that you would like someone to take a look at? I'm not following your question fully.
Just wanted to say thank you!!
Glad that this older thread was able to assist you as well Matthew. Thanks for popping in to share your sentiments :)
I am very new to storyline (using storyline 2) and I'am attempting to recreate the video. I keep getting an incorrect answer stating "you must complete the question before submitting." Any quidance on how to fix the issue would be greatly appreciated :).
Hi Michael,
That error message is what indicated the user didn't select or chose any answers yet - so if you think you've selected an answer and you're still seeing that it sounds like something we'd want to take a look at your .story file to see how it's set up and behaving.
Hi Michael
just check that you have filled in the form view part of the slide by selecting the correct/incorrect buttons as choices and checked the correct one
Also that you have the triggers in the correct order
Thank you very much for the quick response Ashley and Wendy. I didn't even think about the order of the triggers. That fixed my problem! Thank you both so much!
Glad you're all sorted Michael - good luck with your project.
Happy to help Michael!
OK, I'm obviously doing something wrong. I attempted to set up the variables and conditions as I thought were done in the video, but when I test the slide two errors happen. 1) the names of the various bird parts show up rather than the text "type your text here" and 2) when I hit submit I'm told to complete all the answers before submitting. Where am I going wrong?
I've attached the slide I'm working with. Have only been working on the trigger for the correct button.
Thanks in advance for all your help!
Hi Melanie
first thing - in the variable list you had already entered the default value to equal the answer - these should be left blank that is why you were seeing them already displayed on the slide.
A couple of the variables were mis matching in your triggers.
I've updated your file and also moved the correct/incorrect buttons and added text boxes with the variable references - we do this to test that things are happening as they should be with the variables - you can remove them when you want to.
You'll also need to add a trigger to change state of 'incorrect' button to selected if they get any wrong. The easiest trigger to do is:
Change state of 'incorrect' button to selected when user clicks submit on condition state of correct button is not 'selected'. The alternative trigger is:
Change state of 'incorrect' button to selected when user clicks submit on condition that each of the fields is not equal to the correct answer - you used the AND condition in the correct trigger use the OR condition for the incorrect trigger.
Hope this helps - any questions - just shout out.
And how do you block the navigation buttons with text fields?
Auto solve:
https://community.articulate.com/discussions/articulate-storyline/disable-next-button-until-user-enters-text-into-all-text-entry-fields-on-slide