Skip Navigation

[Résolu] How do I customise the placeholder text Enter a location inside the toolset-maps-distance-center input field

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
How do I customise the placeholder text Enter a location inside the toolset-maps-distance-center input field

Solution:
To change the distance filter textbox placeholder text - you should try to add following code to your view's filter editor's JS box:

jQuery(document).ready(function(){
  $('#toolset-maps-distance-center').attr('placeholder',' add your place holder text');
});

Relevant Documentation:

This support ticket is created Il y a 6 années et 4 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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 2 réponses, a 2 voix.

Dernière mise à jour par julieP Il y a 6 années et 4 mois.

Assisté par: Minesh.

Auteur
Publications
#957121
image1.JPG

How do I customise the placeholder text Enter a location inside the toolset-maps-distance-center input field (ringed bit on uploaded image)?

thanks

#957202

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

To change the distance filter textbox placeholder text - you should try to add following code to your view's filter editor's JS box:

jQuery(document).ready(function(){
  $('#toolset-maps-distance-center').attr('placeholder',' add your place holder text');
});
#957210

Awesome Minesh; works like a charm! Thank you 🙂