Which filter do I use to add an attribute like 'autofocus' or 'placeholder' or 'title' to an input tag?
i suggest a form field in the admin where you create the form that would allow you to add anything you want to the input tag. That way we could add something like this all in one field and have it appear in the tag.
placeholder="My placeholder text" autofocus title="My Title"