Skip Navigation

[Resolved] Form dropdown field default value not displaying

This support ticket is created 5 years, 2 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
- 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 5 replies, has 2 voices.

Last updated by martinH-10 5 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1327811
2019-08-30_9-07-16.png
2019-08-30_9-04-38.png

I have tried to display the custom dropdown field and used the default value in form builder. But the default value not appearing on frontend.

#1327833

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL where I can see the form.

#1327851

hidden link but I need to send you the admin credentials, please give me option for private message.

#1327895

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

ok - I have set the next reply to private which means only you and I have access to it.

#1327917

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now:
hidden link

I've added the following JS code to your Form's JS box:

jQuery(document).ready(function($){
  
 $("select[name='wpcf-kraj'] option[value='']").text("Prosím, vyberte váš kraj");

});

Actually, you wanted to change the default option text and where you input the text is used to set the default option.

#1328061

My issue is resolved now. Thank you very Much Minesh, I appretiate it!