TOPIC:

How to add a placeholder to a 'select from list' field type 1 year 11 months ago #229756

  • Topic Author
  • MAT978
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 27
  • Thanks: 0
Hello,

I would like to add a placeholder to my field type 'Select from list'. I've tried to achieve that with initscript but I didn't succeed at all.

Can someone help me with that?

Thanks!

Sandra

Please Log in or Create an account to join the conversation.

How to add a placeholder to a 'select from list' field type 1 year 11 months ago #229757

  • DarkoCujic's Avatar
  • DarkoCujic
  • Offline
  • Developer
  • Developer
  • Posts: 2154
  • Karma: 67
  • Thanks: 264
Hey,

simply add to the top of the list (in the Value field) the following:
1;Please select...;

You can see that the second parameter (after the second semicolon) is empty. That's so you can put validation ff_valuenotempty on that field and it won't pass validation unless the user selects something.

Kind regards,
Darko
Satisfied with our support? PayPal tips
===========
Need to renew Pro Support? Buy Here!
===========
Satisfied? Consider a membership!
===========
Like us on Facebook
===========
Support Crosstec and get ALL EXTENSIONS and professional support for just $5. Here!

Please Log in or Create an account to join the conversation.

How to add a placeholder to a 'select from list' field type 1 year 11 months ago #229760

  • Topic Author
  • MAT978
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 27
  • Thanks: 0
Thanks for your answer.

I tried that before posting my issue, preview was ok, but not the frontend. In fact if I use Boostrap as theme engine (what I wanted) it doesn't work. It works if I use BreezingForms engine.

Please Log in or Create an account to join the conversation.

Last edit: Post by MAT978.

How to add a placeholder to a 'select from list' field type 1 year 11 months ago #229761

  • DarkoCujic's Avatar
  • DarkoCujic
  • Offline
  • Developer
  • Developer
  • Posts: 2154
  • Karma: 67
  • Thanks: 264
Hey,

it should work. Can you please set the select list value to this and see if it works?
1;Please select;
0;Title 1;value1
0;Title 2;value2
0;Title 3;value3

Regards,
Darko
Satisfied with our support? PayPal tips
===========
Need to renew Pro Support? Buy Here!
===========
Satisfied? Consider a membership!
===========
Like us on Facebook
===========
Support Crosstec and get ALL EXTENSIONS and professional support for just $5. Here!

Please Log in or Create an account to join the conversation.

How to add a placeholder to a 'select from list' field type 1 year 11 months ago #229762

  • Topic Author
  • MAT978
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 27
  • Thanks: 0
It works except if I select Boostrap theme engine + set Use BS3 on Yes. It works fine with the built-in on Yes. So all is now fine.

Thanks!

Please Log in or Create an account to join the conversation.

How to add a placeholder to a 'select from list' field type 1 year 11 months ago #229763

  • DarkoCujic's Avatar
  • DarkoCujic
  • Offline
  • Developer
  • Developer
  • Posts: 2154
  • Karma: 67
  • Thanks: 264
Excellent. Let us know should you need anything else.

Kind regards,
Darko
Satisfied with our support? PayPal tips
===========
Need to renew Pro Support? Buy Here!
===========
Satisfied? Consider a membership!
===========
Like us on Facebook
===========
Support Crosstec and get ALL EXTENSIONS and professional support for just $5. Here!
The following user(s) said Thank You: MAT978

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.044 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!