Forum Discussion
ZsoltOlah
9 years agoSuper Hero
Entry Text WITHOUT Losing Focus
Hi all,
Is it possible to detect/trigger entry text content WHILE the user is typing? And not wait until the box loses focus?
Here's the scenario: submit button is hidden. Text entry is empty. ...
YaachYaach
Community Member
This is interesting. My use case is because the variables are not set on mobile devices. The input field does not loses focus after pressing my "Next" button on an iPhone 13. This causes my variable (for the input field) to be empty.
The workaround triggering losing focus and then activating it seems a viable solution, but I was inspecting the DOM of my web build and don't see any input elements for my INPUT fields. I only see textareas.
How do you target an specific input element? I don't see IDs or classes.
GavinElliott-89
3 years agoCommunity Member
Yeah, it's not possible to target specific IDs in the DOM but it is possible to target all the 'acc-textinput' classes, which is what my code does (see my reply above). Hope that's helpful.