Tab key for switching between input fields from left to right

Is there any way to set Tab key for switching between input fields from left to right? Currently, it switches from top to bottom.