Sauter la navigation

[Résolu] Editing distance filter placeholder

This support ticket is created Il y a 1 année et 1 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 année et 1 mois.

Assisté par: Minesh.

Auteur
Publications
#2689746

Tell us what you are trying to do?
I want to change the "enter a location" placeholder

Is there any documentation that you are following?
https://toolset.com/forums/topic/editing-distance-filter-placeholder/
https://toolset.com/forums/topic/customising-search-form-using-maps-distance-filter-q4/

I tried the codes above but can't get them to work.

#2689768

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

That is strange. It should work.

What if you try to add the following code to your view's custom JS box:

jQuery(document).ready(function($){
$('#toolset-maps-distance-center').attr('placeholder',' replace your text here');
});
#2689770

That works, thanks!