Saltar navegación

[Resuelto] Editing distance filter placeholder

This support ticket is created hace 1 año, 3 meses. 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 1 año, 3 meses.

Asistido por: Minesh.

Autor
Mensajes
#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
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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!