Navigation überspringen

[Gelöst] Place holder text in select fields

This support ticket is created vor 3 Jahren, 5 Monaten. 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
- 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)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von AndreG3332 vor 3 Jahren, 4 Monaten.

Assistiert von: Waqar.

Author
Artikel
#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!