WordPress-to-lead for Salesforce CRM
Remove Default Value on Focus? (2 posts)

  1. atracksler
    Posted 3 years ago #

    I have a sidebar widget form, which uses the Value to put a default value in the form, instead of the Label.

    The form looks good, but I want those values to disappear in the form when the user clicks inside the box.

    Is there a place where I can edit the code to change the "value" to "placeholder"?

    Thanks in advance, ad


  2. Nick Ciske
    Plugin Author

    Posted 3 years ago #

    Not at present. I've added it to the wishlist (as it requires changes to the way form settings are saved, it likely won't make it into 2.0.1).

    In the interim, you could use jQuery to swap all the preset values into the placeholder attribute on page load.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress-to-lead for Salesforce CRM
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic