Skip Navigation

[Resolved] Add Placeholder / title / auto_fill to wpv-control select

This support ticket is created 7 years, 8 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.

Our next available supporter will start replying to tickets in about 0.77 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by Ole Andreas Vekve 7 years, 8 months ago.

Assisted by: Nigel.

Author
Posts
#420012
Skjermbilde 2016-07-27 kl. 14.19.33.png
Skjermbilde 2016-07-27 kl. 14.14.25.png

I am trying to add Placeholder / Title to the select field / Filter for Archive page. Not sure what it's called. Please see screenshot. The first screenshot shows how it is right now. The last screenshot shows how it should be.

I have read this: https://toolset.com/documentation/views-shortcodes/#wpv-control
But did not find what I was looking for. I tried different, but did not find out what I should write.

Here is my code

  [wpv-filter-start hide="false"]
[wpv-filter-controls]
[wpml-string context="wpv-views"]Kunstnere:[/wpml-string] [wpv-control taxonomy="kunstner" url_param="wpv-kunstner" type="select" field="Kunstner"]

[wpml-string context="wpv-views"]Type[/wpml-string] [wpv-control taxonomy="category" url_param="wpv-category" type="select"]
[/wpv-filter-controls]
[wpv-filter-end]

Looking forward to hear from you again,

#420096

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Screen Shot 2016-07-27 at 18.04.55.png

When you add the filter to your search using the New Filter button you will see a modal box as per the attached screenshot with a field called 'Label for not selected option' which I have filled with "* PLACEHOLDER HERE *".

That should do what you are looking for.

#420229

Wow. I did not think it was so easy. Looked everything except there. Thank you very much.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.