checking the form submit in right order

checking the form submit in right order