Struggling with a variable

May 02, 2023

Hi everyone, I am uploading two examples. One is a sample of a real course interaction that has been redacted called ("Company Policies_Test Interaction"), and one I have mocked up ("Human Resources Policies_TEST.

Essentially with Company Policies_Test Interaction, there is nothing wrong with this file, as you will see the learner click a link (in this instance to go to google.com) and click a checkbox whereby the layer requires them to enter text for the state of the submit button to be normal from disabled.

My issue is that my contract employer is now wanting - (for this you'll need to see the Human Resources Policies_TEST.story) a title only, for each policy to be visible on the base layer and not a link.

Within each of the layers, they want the hyperlink included where learners also enter text into Textentry1. I have created a new variable ("CloseLayerSP") and had a go at making this work, I noticed that the Submit button is remaining disabled after the state of Text box 3 is visited (as I inputted), and after the variable changes when the variable (FirstLastName) is not equal to blank in the textentry1. 

I want to be able to make this update for them but can't seem to make it work (I hope I was clear with that explanation). Really need some advise.

 

6 Replies
Sandeep Gadam

Hello Marcus, I reviewed your file and after modifying your existing trigger I was able to get the submit button work. So on the "SPEmployeeHandbook" layer change the trigger similar to below:

Modify your trigger to
Set state of Button 1- Submit to Normal
When CloseLayerSP changes
If CloseLayerSP = value True

This worked fine at my end. Let me know if you need any further help.

Luciana Piazza

Hi Marcus, 

I wanted to chime in and let you know that I see that you're working with my colleague John Carlo on this issue within a support case. You're in great hands!

I'll share the most recent discussion in this thread with John Carlo so we can continue the conversation over in your support case. 

Have a great start to your week!