Added submission to form check