Form Help

TOPIC:

Drop Down Validation for Required Field? 5 years 6 months ago #224345

  • naderva's Avatar Topic Author
  • naderva
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 45
  • Thanks: 0
Hi there,

I made 3 drop down menus that are required, but which validation do I select from the library, so that it checks to ensure the user selects one?



Please advise!

Thank you :)
Nader
Attachments:

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

Drop Down Validation for Required Field? 5 years 6 months ago #224347

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 2222
  • Thanks: 280
Hey Nader,

for select-lists you should use the ff_valuenotempty script.
Just make sure that you have a default option without a value as the first option of the select-list, something like this:
0;Please Select;
0;Title 1;value1
0;Title 2;value2
0;Title 3;value3
Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

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

Drop Down Validation for Required Field? 5 years 6 months ago #224392

  • naderva's Avatar Topic Author
  • naderva
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 45
  • Thanks: 0
Thank you!

Nader

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

Drop Down Validation for Required Field? 5 years 6 months ago #224395

  • marko.bosnjak
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 2222
  • Thanks: 280
Hey,

you're welcome. :D
Let us know if you need anything else.

Regards,
Marko
======================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
======================================
Need to renew Pro Support?
Buy Here!
======================================
Satisfied?
Consider a Membership!
======================================
Follow us on Facebook!

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

Drop Down Validation for Required Field? 2 years 9 months ago #251983

  • wneill
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 2
  • Thanks: 0
I'm having trouble with the solution mentioned here.

I have a "select list" element where the user chooses a location. So the list values are:0;Please choose one;did not choose0;Baldwin Memorial Library (Judsonia);Baldwin0;Goff Public Library (Beebe);GoffThen I checked the "Required" checkbox so it will show the red asterisk, and I chose the validation of ff_valuenotempty. See attached screenshot. But when I test it, it lets me submit the form without making a choice from that list.

I am using BreezingForms 1.9 and Joomla 3.9.22.
Attachments:

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

Last edit: Post by wneill.

Drop Down Validation for Required Field? 2 years 9 months ago #251984

  • Eddy.vh's Avatar
  • Eddy.vh
  • Offline
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 1222
  • Thanks: 207
Hi.

Try this.

0;Please choose one;
0;Baldwin Memorial Library (Judsonia);Baldwin
0;Goff Public Library (Beebe);Goff

Regards,
Eddy

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.144 seconds

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!