How to remove previous text inputs showing - when creating a search function?

advanced-prototyping

#1

Hello, I am creating a search function in one of my prototypes. Its fully functioning but when using it the following happens ----> 41 How can i stop this from happening as its blocking my actual results!

Thank you


#2

Hey there. Yes frustrating right, I’m not entirely sure if you can stop Chrome (I’m assuming that’s what you are using here) from storing text entries, but you can definitely clear them from your browsing history so you don’t see them again (until you do another search of course).

Chrome>History>Clear Browsing History>Advanced>Select only “Auto Fill Form Data”, then Clear Data (see below). It should remove them.

Hope this helps!

04


#3

Hi!

Funny, I just ran into this issue yesterday. You can stop a field from doing this with a little javascript. The hack for adding javascript is to put it into the external-URL field of the Open Link command. (A link won’t open.)

Place the following into that field instead of a URL. It assumes your field is called “mySearchField”. You could add this Open Link command to OnPageLoad

javascript:

$('[data-label = "mySearchField"]').find('input').attr("autocomplete", "off");
void(0);