Title: Placeholder for inputs
Last modified: August 21, 2016

---

# Placeholder for inputs

 *  Resolved [babr](https://wordpress.org/support/users/ederer/)
 * (@ederer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/placeholder-for-inputs/)
 * Hi,
 * is it possible to add placeholders to the inputs? How would it work?
    Thank you
   in advance!
 * [https://wordpress.org/plugins/woocommerce-my-account-widget/](https://wordpress.org/plugins/woocommerce-my-account-widget/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [WP Fortune](https://wordpress.org/support/users/bpluijms/)
 * (@bpluijms)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945282)
 * Hi Ederer,
 * Could you give me more information about your requests?
 *  Thread Starter [babr](https://wordpress.org/support/users/ederer/)
 * (@ederer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945335)
 * Hi Bart Pluijms,
 * I’d like to have Placeholders instead of the labels or maybe additionally. Do
   you know what I mean?
 *  Plugin Author [WP Fortune](https://wordpress.org/support/users/bpluijms/)
 * (@bpluijms)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945362)
 * Unfortunatelly I don’t undersrtand you. Could you give us an example.
 * At the moment there are no plans to add new features to this plugin.
    The next
   release will contain some new things, but it’s planned for August.
 * Best regards,
    Bart
 *  Thread Starter [babr](https://wordpress.org/support/users/ederer/)
 * (@ederer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945367)
 * For example the search-input tag on this website. It includes a placeholder attribute.
   Here is the HTML:
    `<input class="text" type="text" placeholder="Search WordPress.
   org" maxlength="150" value="" name="search">`
 * Do you now know what I mean?
 * King regards,
    Ederer
 *  Plugin Author [WP Fortune](https://wordpress.org/support/users/bpluijms/)
 * (@bpluijms)
 * [12 years ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945392)
 * Hello Ederer,
 * Thank you for your clearification.
    At the moment it’s not planned to do so, 
   but you could add the placeholders with some basic jquery.
 * For example:
 *     ```
       <script>
       jQuery(document).ready(function() {
         jQuery(FIELD).attr('placeholder','Username');
       });
       </script>
       ```
   
 * I will add this request to our development list so it will be added in a future
   version.
 * Best regards,
    Bart
 *  Thread Starter [babr](https://wordpress.org/support/users/ederer/)
 * (@ederer)
 * [12 years ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945396)
 * Hey Bart,
 * thank you for your answer!
    Where should I add your script? If I add it to the
   header.php or footer.php it doesn’t work…any idea?
 * Best regards,
    Ederer
 *  Plugin Author [WP Fortune](https://wordpress.org/support/users/bpluijms/)
 * (@bpluijms)
 * [12 years ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945397)
 * Normally after jQuery is inserted in your theme.
 * Most themes have jQuery enabled, if not, you’ve to insert jQuery to.
    And ofcourse
   you’ve to adjust the script to you specific needs.
 * Best regards,
    Bart

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Placeholder for inputs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-my-account-widget_4e6070.
   svg)
 * [WooCommerce My Account Widget](https://wordpress.org/plugins/woocommerce-my-account-widget/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-my-account-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-my-account-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-my-account-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-my-account-widget/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [WP Fortune](https://wordpress.org/support/users/bpluijms/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/placeholder-for-inputs/#post-4945397)
 * Status: resolved