Skip Navigation

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

This thread is resolved. Here is a description of the problem and solution.

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 6 years, 6 months ago. 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)

This topic contains 2 replies, has 2 voices.

Last updated by julieP 6 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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 🙂