Limit # of select from list categories

  • chargersrool
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 89
  • Thank you received: 0

chargersrool created the topic: Limit # of select from list categories

I have about 30-40 categories with a drop down box element with multiple selected but now how can I limit the number of categories chosen to 3 max.

Also is there a way to list cities when a particular city is selected?
If Florida is selected then a drop down box should come up with a list of cities in florida and so on.
Only for USA.
#98588
  • Posts: 4669
  • Karma: 72
  • Thank you received: 411

lennerd replied the topic: Limit # of select from list categories

Hello,

both is possible but:

1. this needs to be coded with in an actionscript for the list. You will need to use some JQuery /Javascript to disabl/enable the options of the list.

2. The easy way would be to create multiple selectlists and the usage of visiblity rules. This means create a list with all states and create multiple lists for cities (each of these lists have the cities of a certain state as options). Then use visibility rules like explained here:
crosstec.org/en/turn-fields-and-sections...f-conditionally.html

In your case this will end up in around 51 selectlists.

Regards,
Stefan

===============================================
Satisfied? Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
#98695
  • chargersrool
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 89
  • Thank you received: 0

chargersrool replied the topic: Limit # of select from list categories

Thank you Stefan, that helped a lot. Now I have a problem with my registration form and visibility rules. Can one form have more then 2 rules? The form works with the first on/off condition but not the second.

catholicparishnetworks.com/login/login

This is what visibility rules I'm using:

turn on section offering_employment if add_info0 is yes
turn off section offering_employment if add_info0 is no
turn on section looking_for_employment if add_info1 is yes
turn off section looking_for_employment if add_info1 is no
#98719
  • chargersrool
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 89
  • Thank you received: 0

chargersrool replied the topic: Limit # of select from list categories

Scratch that link, here is the temporary one:
catholicparishnetworks.com/about-us

Also when I selected the flash upload option for upload in another form, I get this type of error or whatever you would call it. But after I exit out of it the form sends:
catholicparishnetworks.com/businesses/list-your-business
#98789
Attachments:
  • Posts: 7465
  • Karma: 150
  • Thank you received: 553

TheMuffinMan replied the topic: Limit # of select from list categories

Hi,

for your other problem with flash it appears to be a routing problem. Can you please contact me at markus.bopp@crosstec.org? I need to debug this.

Regards,
Markus

===============================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#98847
  • Posts: 17
  • Thank you received: 0

andraspal replied the topic: Limit # of select from list categories

Slightly differerent problem here. I have 410 items in the "select form list" but it gets truncated at 400. How can I show 410 items?
#238506
Moderators: ForumSupporttomeperica
Time to create page: 0.065 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

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

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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 to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here