1.easiest way is to use HTML with autofocus attribute
<input type="text" name="your-name" autofocus>
or if you want to focus with javascript (jquery)
$( document ).ready(function() {
$('#first').focus();
});
Либо:
Adding focus to a Contact Form 7 field
The mighty and very popular Contact Form 7 plugin makes it simple to add focus to a form field. Just add this jQuery.
<script type="text/javascript">
$(document).ready(function($) { $('.wpcf7-text:first').focus(); });
</script>