Forum Discussion
Live Typing +Submit Button Function
Hi StefanieKirs743 I think this is how you wanted it to work. I have also added the character count to the same JavaScript function, so that it updates dynamically as the user types. This is the JavaScript in Timeline Starts.
You will need to ensure both Submit buttons are set to disabled by default (I have done this in the attached file).
Confirming the behaviour is:
- User types in Event Notes
- Event Notes Submit button
- Input contains text = Enabled
- Input empty = Disabled
- Session Notes Submit button
- Always disabled when typing in Event Notes.
- Event Notes Submit button
- User types in Session Notes
- SessionNotes Submit button
- Input contains text = Enabled
- Input empty = Disabled
- EventNotes Submit button
- Always disabled when typing in Event Notes.
- SessionNotes Submit button
I did remove existing triggers I thought were related to trying to make this functionality work, as I had to remove any potential conflicts with the script.
It's a relatively straightforward script that adds listeners to the input fields and then sets an associated variable (enableEventNotes and enableSessionNotes) in Storyline which then determine if the associated Submit button is enabled/disabled.
Related Content
- 8 months ago
- 4 months ago
- 1 year ago