Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] v 3.08a - Field selection limits - Option still shows up even when the limit is reached

[SOLVED] v 3.08a - Field selection limits - Option still shows up even when the limit is reached 10 years 8 months ago #22968

  • warmbeach
  • warmbeach's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Hi,

In the Field Management > Selection Limits description it says "... Once the limit is reached for a value, it will no longer show as an option during registration."

Well, unfortunately, the option still shows up and just gets grayed out when the limit is reached which could be very confusing for customers.

Is there any way to just hide the option once the limit is reached? Or is it simply a bug in the newest version?

Thanks!

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

Last Edit: by nathan.dth.

v 3.08a - Field option selection limits issue. Option still shows up even when the limit is reached 10 years 8 months ago #22969

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
Nothing has changed with this. The value never disappears... it just becomes unavailable to be selected anymore. It's always worked like this. If I remember correctly... a number of years ago when the selection limit functionality was first added... we had the items disappear but that was even MORE confusing because if all of your values hit the limit, you had a field with NOTHING to select. Then it just looked broken. So it was decided to keep the options, just make them unavailable. Besides, then users at least know what other options WERE there.

So, no bug here. :)
The following user(s) said Thank You: warmbeach

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

v 3.08a - Field option selection limits issue. Option still shows up even when the limit is reached 10 years 8 months ago #22977

  • warmbeach
  • warmbeach's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
Thank you, Nathan.

Is there anyway to change the code a bit to include "sold out" at the end of the value once it reaches the limit? That would take care of any confusion. If you could just please tell me where to change it, I can try and take care of it myself.

Thanks,
Oksana

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

Last Edit: by nathan.dth.

v 3.08a - Field option selection limits issue. Option still shows up even when the limit is reached 10 years 8 months ago #23043

  • warmbeach
  • warmbeach's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 1
For those who would like to know how to add "sold out" to disabled values that reached their limit. I figured it out and it's very simple, just add this code to your css file:
.dtfield option:disabled:after
{
content:" - sold out";
color:red;
}

:side:
The following user(s) said Thank You: gregoconnor

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

v 3.08a - Field option selection limits issue. Option still shows up even when the limit is reached 9 years 1 month ago #25072

  • ScottMod
  • ScottMod's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Hi,
Is this still valid for version 3.1.4b? I added the CSS you provided to the main.css and it didn't work, so I also tried adding it to my main template.css and still did not work. Any direction on this would be much appreciated. This should be the default way, or at least a DT Reg option. Gray out is too confusing for the end user.

Thank you in advance,
~Scott

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

v 3.08a - Field option selection limits issue. Option still shows up even when the limit is reached 9 years 1 month ago #25079

  • tempofinito
  • tempofinito's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 1
Hi Scott, you can try this code.
.dt_full {
    visibility: hidden;
}
The following user(s) said Thank You: gregoconnor

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

  • Page:
  • 1
Time to create page: 0.630 seconds