Forum Discussion
Multiple Java Scripts within the same Articulate Storyline Course
Hi! I'm working on a course where the user can enter an email, name, and phone number, and a Java Script will create an email with the information inserted automatically. This is a resource for sales associates so they can send a form email with the particulars inserted automatically for them.
The course has 12 different sales areas that the reps focus on (healthcare, education, local government, etc). My Java works perfectly if I just publish the one slide for that specific group (i.e. just the slide for education). But when I publish the ENTIRE course with all 12 areas included, none of the Java works on any of the areas.
Is there something I need to tweak in my code? I have area-specific variables for each section. So there's a unique variable for the email address for education, healthcare, etc. I use the exact same code for each area, and just change the variables and text. Like I said, when I publish each area on its own, it works. When I publish them together, none of them work.
Thanks in advance!
I've attached the code.