Title: Adding html attributes to a field
Last modified: September 1, 2016

---

# Adding html attributes to a field

 *  [wpuzer](https://wordpress.org/support/users/wpuzer/)
 * (@wpuzer)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/adding-html-attributes-to-a-field/)
 * Is there a way I can add html attributes to a form or form field?
 * Specifically I want to turn off autocomplete on the member directory search form.
   Either by adding the autocomplete attribute to the search form or by adding it
   to specific search fields. How can I programmatically add the autocomplete attribute?
 * [https://wordpress.org/plugins/ultimate-member/](https://wordpress.org/plugins/ultimate-member/)

The topic ‘Adding html attributes to a field’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [wpuzer](https://wordpress.org/support/users/wpuzer/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/adding-html-attributes-to-a-field/)
 * Status: not resolved