Skip Navigation

[Resolved] Place holder text in select fields

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by AndreG3332 3 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#2128869

Hi,
I am trying to set placeholder text default in a select dropdown Field. Currently, it is showing --not set--. I need to display the word "Province" instead of --not set--.

I have a few fields with a select dropdown that I need to set custom placeholder text stating the function of the fields as the site I am building does not have labels for fields so the placeholder text is very important.

#2129421

Hi,

Thank you for contacting us and I'd be happy to assist.

Can you please share temporary admin login details, along with the link to a page where this select dropdown field can be seen?

I'll be in a better position to suggest you the next steps, accordingly.

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#2132131

Thank you for sharing these details and I apologize for the delay in getting back on this.

To customize the placeholder text for the select type field in the form, you can include the "select_text" attribute:
( ref: https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred_field )

For example:


[cred_field field='postal_address_cont' force_type='field' class='form-control' output='bootstrap' select_text='Select Province']

I hope this helps and please let me know if you need any further assistance around this.

#2133563

My issue is resolved now. Thank you!