Refactored disableSubmitButton
Merge pull request #1193 from AdmiralJota/955_refactor_disableSubmitButton

Refactored disableSubmitButton