Adding functionality to the Clear Button | Community
Skip to main content
March 20, 2013
Question

Adding functionality to the Clear Button

  • March 20, 2013
  • 1 reply
  • 653 views
I have a Script running, that populates a field in a form. When the clear button is pressed, that field does not clear, and the value remains.

Can this be done?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

March 24, 2013
Jason,

I could respond to your question, but I have a question for you instead :-)

Do you have a reason to use the Clear button? The use of a clear button is usually not recommended because a user could accidentally click it and erase their input, creating frustration/friction and increasing chances of abandonment. I seriously question why Marketo even includes it, let alone makes it the default option.

See this article (Point 3) for more info: http://uxdesign.smashingmagazine.com/2011/11/08/extensive-guide-web-form-usability/