• 11-07-2019, 15:38:10
    #1
    merhabalar bu contact form daki otomatik doldurmayı nasıl kapatabilirim yani formu önceden dolduğun kelimeleri gösteriyor ya onu nasıl iptal edebilirim
  • 11-07-2019, 15:42:03
    #2
    Merhaba, functions.php dosyanıza ekleyin,

    add_filter( 'wpcf7_form_elements', 'imp_wpcf7_form_elements' );
    function imp_wpcf7_form_elements( $content ) {
    $str_pos = strpos( $content, 'name="FirstName"' );
    $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 );
    
    $str_pos = strpos( $content, 'name="LastName"' );
    $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 );
    
    return $content;
    }
  • 11-07-2019, 15:53:58
    #3
    temistan adlı üyeden alıntı: mesajı görüntüle
    Merhaba, functions.php dosyanıza ekleyin,

    add_filter( 'wpcf7_form_elements', 'imp_wpcf7_form_elements' );
    function imp_wpcf7_form_elements( $content ) {
    $str_pos = strpos( $content, 'name="FirstName"' );
    $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 );
    
    $str_pos = strpos( $content, 'name="LastName"' );
    $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 );
    
    return $content;
    }
    maalesef olmadı hocam
  • 11-07-2019, 15:56:18
    #4
    Hocam name değerlerini kendinize göre ayarlayacaksınız. Sizin formunuzdaki değerleri ekleyeceksiniz. Bu iki satırı kaç adet alanınız varsa ona göre çoğaltarak düzenleyin.

    $str_pos = strpos( $content, 'name="FirstName"' );
    $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 );
  • 11-07-2019, 15:59:10
    #5
    temistan adlı üyeden alıntı: mesajı görüntüle
    Hocam name değerlerini kendinize göre ayarlayacaksınız. Sizin formunuzdaki değerleri ekleyeceksiniz. Bu iki satırı kaç adet alanınız varsa ona göre çoğaltarak düzenleyin.

    $str_pos = strpos( $content, 'name="FirstName"' );
    $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 );
    hocam böylede oluyormuş teşekkür ederim ilginiz için


    [email your-email placeholder autocomplete:off "Mail Adresi"]