Forum Discussion
Change Text Entry Variable without control losing focus?
Hi everyone,
thank you all for sharing your code! After finding out where to insert the script (-> Use the Javascript Trigger) it was quite easy to do.
Let me share my scenario: I wanted to trigger a new layer after a specific letter was inserted as I wanted to build a software simulation where results are presented according to the letters I put in a search bar.
To do so I used Simon Allistones code as a JavaScript Trigger.
Secondly I set up the trigger that my Text variable loses focus (I believe this trigger is a default trigger when inserting a text entry box.
Thirdly I set up a trigger to show a new layer when my text entry box loses focus AND ADDED the condition that the entry must have the value of my specific letter. An it worked perfectly.
I hope this is understandable.