Forum Discussion
Change Text Entry Variable without control losing focus?
Hi Glenda,
Yep, I understand the case-sensitivity for the the variables. Beyond that, a few issues I'm getting caught up on:
1) Wouldn't you exclude the double quotes around searchentry in player.SetVar?
2) What is triggering player.SetVar? If the execute javascript action is triggered at timeline start, what is then actually causing it to write to SearchEntry?
3) Conceptually, what is the code actually doing? It looks like you're hoping that Array.from is capturing text input, more than just doing blur/focus. Then you create a variable called "searchentry" and set it to "SearchEntry" - which would be blank, right? Why bother? Then you immediately set searchentry to constituent items 2,3,&4 that you're expecting to be captured in Array. Then you output that back out to SearchEntry. If that all worked, wouldn't it just be setting whatever you type in a text input field to SearchEntry? Why not just set the text variable on the input box to SearchEntry? And then once you have data in SearchEntry, how do you use that to search?
In any case, I can't get the code to work.
I think a custom search feature would be super cool! Appreciate any time you're willing to take to help me understand!
Curtis