Thread Starter
andomp
(@andomp)
i’ve used a workaround
$( “#sndcntfrm” ).click(function() {
var phone = $(‘input[name=”your-phone”]’).val();
if (phone.startsWith(‘0’)) {
$(‘input[name=”your-phone”]’).val(“.+39″+phone);
}
});
sndcntfrm is the contact form submit button id.
The dot before international prefix is for Google Sheets
requirements (https://webapps.stackexchange.com/questions/33202/how-to-set-a-google-docs-spreadsheet-cell-format-to-bare-text)
I hope this help