Conditional page skip is submitting the form