Storyline renumber textentry fields when i copy slide
Apr 01, 2016
By
brian taylor
Hi all
I found the root of my problem with triggers.
I created a custom slide with a number of textentry fields TextEntry to textentry10 along with lots more fields.
When I duplicate the slide and use javascript to initialise variables everything goes pearshaped. I realised that this was due to the fact that Storyline changes the text and numeric entry field variables on the second slide so as not to conflict with the first. My other triggers based upon states and values still have my original variables.
Am i missing something? If not, is there a way to make a copy and use the same variables again on the second slide.?
Thanks
Brian
13 Replies
Hi Brian
if they are text entry fields SL is assuming they will have new entries so creates a new variable for each one. Are you wanting to reference the ones you have created on following slides.
Perhaps I'm not understanding what you are trying to do. Feel free to upload your story file with an example.
Hi Wendy
Yes that's what I wish to do.
I have 20 textentry fields and 20 numericentry fields on slide 1.
Threr are automaticall given identifiers TextEntry1-TextEntry19 and NumericEntry1-Numericentry19.. I refer to these is complex triggers on slide 1.
I wish to use slide 1 as a template so I duplicate the slide and everything works ok accept for the new variables created TextEntry20-textEntry39 and NumericEntry20-NumericEntry39.
I have to go through slide 2 an amend all of the references to these fields and when I do this all is fine.
I just wondered whether there is any way to stop Storyline creating new references (i,e, actually duplicate the slide precisely).
I initialise the variables with javascript at the beginning of each slide.
I wish to use as a template a number of times with up to 40 items for learners to input and dont really want to go through each slide and change the triggers manually.
I imagine simply having a new scene will not suffice.
It is late here in UK. I will look at using several layers on a single slide tomorrow to see whether I can resue the fields on different layers. I fear not but will try.
Thanks for the advice
Brian
Hi Brian
I have done a sample using the slide master for what you are describing - but I'm not sure it's going to achieve what you want.
Reusing text and numeric variables on slide 1 means they have a value, so by having the same text and numeric variables on slide 2 means they are already filled in.
Maybe someone else can chime in to assist you.
I think I agree with Wendy. Using the same names on slide two means that if you change the variables on slide two, you will change the values input on slide one.
Hi Wendy and Walt
Thanks for the file Wendy, yes that is exactly what I am looking for. If I understand correctly, if a master is created and then used, the slide is not duplicated and the entry field identifiers remain the same. It is when the slide is duplicated that the entry fields are duplicated and IDs incremented by Storyline.
If so that is perfect
I am a high school teacher in the UK and wish to replicate my economics/business teaching in storyline to create a blended learning environment. I have attached a copy of the structure I am looking for.
I am creating a template with all of my fields etc off screen and then having some logic to check whether the learner has all answers correct and if not change the states of objects to show which are correct and which are incorrect. I then populate a slide with variables using javascript and based upon the learner's responses I can give complex feedback until the learner answers all parts correctly. Only then can they move on. I can ask multiple questions, each with complex feedback (eg demand curve labelling or cause of downward sloping curve etc) on each guided practice slide until the learner has mastered the concept.
I then move on to a new concept. I dont have to worry about maintaining the variables between slides as there is a new question and new feedback with resposes (markers) that only appear alongside incorrect entries.
Some slides only have two responses, so I set the rest of the variables as correct responses and the logic still works.
I am now playing with timing how long a learner can respond to a particular question in order to assume mastery. In this way I can in theory put in a large number of practice questions and the learner will be allowed to move on when they are proficient. Time lapsed and number of tries I will try to log for each slide by using "global" variables.
This will not be attached to an LMS but will gather information about how a learner has proceeded which will be saved or emailed to me and give insights into their strengths and weaknesses.
So a blank slide with multiple entry fields that retain their IDs from slide to slide is probably not what would normally be required but for me is perfect.
Sorry to ramble on, but I wanted you to know that your hard work isn't in vain, sometimes users do want to do the crazy things they seem to be describing.
So thanks again both Wendy and Walt. I believe (touchwood) that the heroes have come to my rescue again. I will check how to change my slide into a master (or copy and paste everything) and give it a try.
Clearly if I am wrong and I have misinterpreted, write me off as another of the nutty eccentric english users and nod politely. LOL
thanks again
Brian
Ha ha - you crazy Englishmen ;-) never conventional.
Glad what I put together will work for you and the explanation makes sense.
That's the beauty of Storyline - you can bend it, twist and work it till you get what you need.
Good luck with your project Brian.
Wendy and Walt
Worked perfectly. You are indeed heroes.
Thank you
Have a great weekend
Brian
Hey, hi all, i am new for Storyline, and i am trying to add the number field which can display the date time picker to the user, and i did that with the help of javascript, but if user enter the wrong date then how should i set the trigger that it reflect on result also do check the correct input is entered by the user or not?
how can i set the value in the trigger for date is correct or not??
reply me if anyone knows it, as early as possible
Not sure what you want, but if the correct date is the goal, you can use javascript to pull that from the system.
hi walt, can you share the file,
i just want to check the date enter by the user, but our software storyline is only accepts the number not the date format, then how i do?
and i dont want system's date, its a static value 19-11-2107 how i check it back when entered by the user?
I think I am not understanding what you want. It seems to me you want the user to enter today's date, then have the module check to see if it is correct. Then what? email it to you so you know when they took the course? How do you define if it is the correct date?
I think it would help me a lot to understand if you would attach your .story file here. Use the ADD ATTACHMENT button.
Hi Walt, thanks for your reply, i used javascript on text field for date format and set the variable trigger which checks the date entered by the user, and this was solved.
Thanks For Your Reply.
This discussion is closed. You can start a new discussion or contact Articulate Support.