|
11 | 11 | <div class="inputHolder"><input type="text" |
12 | 12 | style="width: 50%; display: inline;"<?php echo( $__block ? " readonly" : "" ); ?> |
13 | 13 | required onchange="eduBookingView.ContactAsParticipant();" |
| 14 | + autocomplete="given-name" |
14 | 15 | id="edu-contactFirstName" name="contactFirstName" |
15 | 16 | placeholder="<?php edu_e( "Contact first name" ); ?>" |
16 | 17 | value="<?php echo @esc_attr( explode( ' ', $contact->ContactName )[0] ); ?>"/><input |
17 | 18 | type="text" style="width: 50%; display: inline;"<?php echo( $__block ? " readonly" : "" ); ?> |
18 | 19 | required onchange="eduBookingView.ContactAsParticipant();" id="edu-contactLastName" |
| 20 | + autocomplete="family-name" |
19 | 21 | name="contactLastName" placeholder="<?php edu_e( "Contact surname" ); ?>" |
20 | 22 | value="<?php echo @esc_attr( str_replace( explode( ' ', $contact->ContactName )[0], '', $contact->ContactName ) ); ?>"/> |
21 | 23 | </div> |
|
26 | 28 | </div> |
27 | 29 | <div class="inputHolder"> |
28 | 30 | <input type="email" id="edu-contactEmail" required |
29 | | - name="contactEmail"<?php echo( $__block ? " readonly" : "" ); ?> |
| 31 | + name="contactEmail"<?php echo( $__block ? " readonly" : "" ); ?> autocomplete="email" |
30 | 32 | onchange="eduBookingView.ContactAsParticipant();" placeholder="<?php edu_e( "E-mail address" ); ?>" |
31 | 33 | value="<?php echo @esc_attr( $contact->Email ); ?>"/> |
32 | 34 | </div> |
|
36 | 38 | <?php edu_e( "Phone number" ); ?> |
37 | 39 | </div> |
38 | 40 | <div class="inputHolder"> |
39 | | - <input type="tel" id="edu-contactPhone" name="contactPhone" |
| 41 | + <input type="tel" id="edu-contactPhone" name="contactPhone" autocomplete="tel" |
40 | 42 | onchange="eduBookingView.ContactAsParticipant();" placeholder="<?php edu_e( "Phone number" ); ?>" |
41 | 43 | value="<?php echo @esc_attr( $contact->Phone ); ?>"/> |
42 | 44 | </div> |
|
46 | 48 | <?php edu_e( "Mobile number" ); ?> |
47 | 49 | </div> |
48 | 50 | <div class="inputHolder"> |
49 | | - <input type="tel" id="edu-contactMobile" name="contactMobile" |
| 51 | + <input type="tel" id="edu-contactMobile" name="contactMobile" autocomplete="tel" |
50 | 52 | onchange="eduBookingView.ContactAsParticipant();" placeholder="<?php edu_e( "Mobile number" ); ?>" |
51 | 53 | value="<?php echo @esc_attr( $contact->Mobile ); ?>"/> |
52 | 54 | </div> |
|
72 | 74 | <?php edu_e( "Please enter a password" ); ?> |
73 | 75 | </div> |
74 | 76 | <div class="inputHolder"> |
75 | | - <input type="password" required name="contactPass" |
| 77 | + <input type="password" required name="contactPass" autocomplete="new-password" |
76 | 78 | placeholder="<?php edu_e( "Please enter a password" ); ?>"/> |
77 | 79 | </div> |
78 | 80 | </label> |
|
0 commit comments