• Olá, há alguma maneira de preencher automaticamente o campo CPF e Celular? Pois o mesmo já é preenchido no cadastro, e é preciso digitar novamente juntamente dos dados do cart?o!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Estou procurando uma solu??o para isso também, até agora nada ??
    Se você achar alguma coisa compartilha por favor

    Thread Starter Julio Andolfo

    (@julioandolfo)

    Fiz com JS:

    document.getElementById("billing_cpf").onkeyup = function() {
    	var cpf = document.getElementById("billing_cpf").value;
    	document.getElementById("pagseguro-card-holder-cpf").value = cpf;
    }
    
    /*document.getElementById("billing_birthdate").onkeyup = function() {
    	var data = document.getElementById("billing_birthdate").value;
    	document.getElementById("pagseguro-card-holder-birth-date").value = data;
    }*/
    
    document.getElementById("billing_phone").onkeyup = function() {
    	var phone = document.getElementById("billing_phone").value;
    	document.getElementById("pagseguro-card-holder-phone").value = phone;
    }

    Obrigado Julio, n?o tinha pensado nisso.
    Deu muito certo!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preenchimento Automatico CPF e Celular’ is closed to new replies.