Capture keystrokes in non-sensitive fields on Hubspot Forms


#1

Looking to implement this feature with a HubSpot form: http://help.luckyorange.com/article/90-how-do-i-capture-keystrokes-in-non-sensitive-fields

Understand that we are limited to how we can edit HubSpot Forms. Any suggestions or workarounds on how we could use this with a HubSpot Form?

Thanks in advance!


#2

Hi @Ella_Brennan,

There’s no built-in keystroke collection mechanism with HubSpot forms, and it’s not possible to apply a specific class to a form field through the UI. If I’m reading that article correctly all that needs to happen for Lucky Orange to collect keystrokes is for the input(s) to have the class LoNotSensitive applied. I can’t speak to the Lucky Orange side of things, but the only way to apply a class to a HubSpot form input would be to target the form inputs and add the class with Javascript after the form has loaded.