select button to form index