I’ve been wondering, if an input box with a variable of name and is inside an MC with instance name of contact_form, what the code I can put on a frame so that as the frame loads, the focus of the blinker is automatically set onto that input?
Ive used this:
selection.setFocus(“contact_form.name”);
And it’s completely not working. I traced selection.getFocus(); and it returns as undefined…
Kyo, i’m not sure how your code sets the focus on the input box inside the MC. I actually figured it out. It needs to target the instance name of the text box not the variable of it - lol -.