Forum Discussion
CurtisStanford
4 years agoCommunity Member
Updating Variable While Typing In Text Input Field
Somebody once shared this JS as a solution, which works well for a single text field on the screen. But it only seems to focus on the first text field if there are multiple. Is there a way to have a...
StefanKoler-a6f
2 years agoCommunity Member
Did this stop working?
Nedim
2 years agoCommunity Member
It works in the latest Storyline version v3.94.33511.0. If you are still running one or two previous versions run this this code instead:
const Inputs = () => {
const inputs = document.querySelectorAll('.acc-textinput');
inputs.forEach((input) => {
input.addEventListener('keyup', () => {
input.blur();
input.focus();
});
});
}
setTimeout(Inputs, 100)Related Content
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago