Arrange form variables