How to set focus to a field after displaying the field

arrick 17 Jun, 2015
Good Morning.

I have the following form http://mwforms.miworksmo.org/HiringEvents and I am trying to accomplish something specific.

On page 3 linked direct below, there is the Name field, which has the ID of
"empRep1".
I have figured out how to enable "empRep2" based on change in value, or by on typing... up to 5 empRep's... Now... when the "change event" happens, it doesnt do anything upon starting to type, but when you tab out of the field, thats when it sets the change.


Here is the psuedo code for what I would like to accomplish.

onTyping at least 1 character of empRep1
display empRep2
focus empRep2
onTyping at least 1 character of empRep2
display empRep3
focus empRep3
onTyping at least 1 character of empRep3
display empRep4
focus empRep4
onTyping at least 1 character of empRep4
display empRep5
focus empRep5

http://mwforms.miworksmo.org/HiringEvents?chronoform=Hiring_Event_Request&event=page3

Iknow the answer is going to probably be a custom php code, or javascript, but I kind of need help constructing it....

Could you please help me out with the first section and tell me where to put it? (Setup, design, etc... ) before multipage, after, etc?
onChange of empRep1
display empRep2
focus empRep2



Thanks in advance,
Arrick.
This topic is locked and no more replies can be posted.