required select list problem

14 years 10 months ago #100392 by wendyj
required select list problem was created by wendyj
Hi,
Environment
joomla 1.5.10
php 5.2.9
cb 1.2.1

On the registration form I have a required dropdown list of US States. The first item is '<-- Select -->', which isn't a valid value. If they don't pick an actual state from the list it still validates. How can I force the user to pick something from the list?

If I remove the '<-- Select -->' option then it defaults to the first state on the list. It seems that the "Pre-filled default value at registration only:" in the field set up does nothing: it can be empty or populated but neither show up in the value list.

So, I guess what I need to do is make the value of '<-- Select -->' invalid and would rather not hack the core to do that.

I just recently upgraded to 1.2.1 from 1.2. In 1.2 the first value was blank which was technically invalid and forced the user to select something.

Can anyone help?
Thanks in advance!

Please Log in to join the conversation.

14 years 10 months ago #100451 by some1new
Replied by some1new on topic Re:required select list problem
I have the same problem regarding a single select drop down field. The pre-filled default does not seem to work.

Any suggestions?

Post edited by: some1new, at: 2009/05/30 18:38

Post edited by: some1new, at: 2009/06/03 22:43

Please Log in to join the conversation.

14 years 10 months ago #100937 by some1new
Replied by some1new on topic Re:required select list problem
Hi there,

I´m crunching through the codes but still not able to find the bug that seems to be in code.

Can anyone at least tell me which files generate the input fields?

Than I could go on looking for the problem.

Greetings
Some1new

Please Log in to join the conversation.

14 years 10 months ago #100957 by Rapunzl
Replied by Rapunzl on topic Re:required select list problem
Confirmed bug to be fixed in next release.

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

14 years 10 months ago #101121 by some1new
Replied by some1new on topic Re:required select list problem
Hi,

1. will/needs this (to) be posted in "Identified Issues" ?
2. any suggestion/time frame when fix will be available?

Thanks in advance
Some1new

Please Log in to join the conversation.

14 years 10 months ago #101168 by wendyj
Replied by wendyj on topic Re:required select list problem
Thanks for your reply. Is there any time frame for the patch?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.221 seconds

Facebook Twitter LinkedIn