diff --git a/static/js/src/prepare-form-inputs.js b/static/js/src/prepare-form-inputs.js index b79cd0ab032..7c5e5376393 100644 --- a/static/js/src/prepare-form-inputs.js +++ b/static/js/src/prepare-form-inputs.js @@ -47,7 +47,7 @@ export function setupIntlTelInput(countryCode, phoneInput) { hiddenInput: phoneInput.name, initialCountry: countryCode, }); - + phoneInput.removeAttribute("name"); // Ensure only the hidden input is submitted. addInputValidation(phoneInput); }