We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e6725 commit d702078Copy full SHA for d702078
app/code/Magento/Customer/view/frontend/templates/form/register.phtml
@@ -198,6 +198,12 @@ require([
198
ignore: ignore ? ':hidden:not(' + ignore + ')' : ':hidden'
199
<?php endif ?>
200
}).find('input:text').attr('autocomplete', 'off');
201
+ dataForm.submit(function () {
202
+ $(this).find(':submit').attr('disabled', 'disabled');
203
+ });
204
+ dataForm.bind("invalid-form.validate", function () {
205
+ $(this).find(':submit').prop('disabled', false);
206
207
208
});
209
</script>
0 commit comments