I want to show a progress bar during form is submitted and processed until submission is created
The easiest way would be to use the managed_file field type and set the #progress_indicator property to 'bar'.

More details are given in this Drupal Answers answer...