How do I set up TAB order on Form Controls?

Get help using Construct 2

Post » Fri Jul 24, 2015 7:24 pm

By TAB order I mean when you fill out a form online and hit tab it jumps to the next box you want to fill out. I know by default the form controls TAB order is order of creation. So the first control created, 2nd control created etc. I was wondering if there is anyway to modify the TAB order of the controls. As I wasn't paying attention and just added controls all willie nillie like so now the TAB order is jacked.
Image
B
47
S
17
G
3
Posts: 206
Reputation: 5,061

Post » Fri Jul 24, 2015 7:47 pm

It's ordered by UIDs. So dynamically create them in order, maybe.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Fri Jul 24, 2015 8:25 pm

Problem is they have already been created with a bunch of code referencing them. So i'd have to create all new form controls then change all my code to refence the new controls. There should be a way i can just change the order somewhere.
Image
B
47
S
17
G
3
Posts: 206
Reputation: 5,061

Post » Sun Jul 26, 2015 12:16 pm

References don't necessarily break, when you delete and create new instances, as long as you don't use UIDs for references (but instance variables instead, etc.).

Have you tried using the keyboard object and setting instances active on "tab" pressed according to a order, you keep track of? I'm not sure if that works.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 51 guests