diff --git a/app/code/Magento/Customer/view/frontend/templates/form/register.phtml b/app/code/Magento/Customer/view/frontend/templates/form/register.phtml index da0bb6e4cbc8b..2181122081026 100644 --- a/app/code/Magento/Customer/view/frontend/templates/form/register.phtml +++ b/app/code/Magento/Customer/view/frontend/templates/form/register.phtml @@ -198,6 +198,12 @@ require([ ignore: ignore ? ':hidden:not(' + ignore + ')' : ':hidden' }).find('input:text').attr('autocomplete', 'off'); + dataForm.on('submit',function() { + $(this).find('.submit').attr('disabled', true); + }); + $('#form-validate input').focus(function() { + $('#form-validate .submit').attr('disabled', false); + }); });