From 527160466f25ddd7f17cf28bb630dd1a2b884a64 Mon Sep 17 00:00:00 2001 From: Siddharth Date: Fri, 11 May 2018 19:04:41 +0530 Subject: [PATCH] fix(donations): Add autocomplete attribute to input fields --- includes/forms/template.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/includes/forms/template.php b/includes/forms/template.php index 755dd56d18..9066448889 100644 --- a/includes/forms/template.php +++ b/includes/forms/template.php @@ -140,7 +140,6 @@ function give_get_donation_form( $args = array() ) { $form_html_tags = apply_filters( 'give_form_html_tags', (array) $form_html_tags, $form ); ?>
method="post"> - @@ -651,6 +650,7 @@ function give_user_info_fields( $form_id ) { class="give-input required" type="text" name="give_first" + autocomplete="given-name" placeholder="" id="give-first" value="" @@ -671,6 +671,7 @@ class="give-input required" class="give-input" type="text" name="give_last" + autocomplete="family-name" id="give-last" placeholder="" value="" @@ -723,6 +724,7 @@ class="give-input" class="give-input required" type="email" name="give_email" + autocomplete="email" placeholder="" id="give-email" value="" @@ -950,6 +952,7 @@ function give_default_cc_address_fields( $form_id ) { > @@ -1067,6 +1074,7 @@ class="card_state give-select" placeholder="" value=""