1
deka87
The 'None' item in the select dropdown box
  • 2009/9/30 11:08

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi, in the XOOPS 2.3 version there is a 'None' item by default in every dropdown select box in the profile module. However, if you choose 'None' in any dropdown select box when editing the profile you can't save the results cos it says that you've got to choose something from the list. Why do I need to choose anything else if I chose 'None'? What is the purpose of it?

2
ghia
Re: The 'None' item in the select dropdown box
  • 2009/9/30 12:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is to force the user making a choice, in the same way as you can not leave some text fields empty.

In other lists the first choice is displayed and when the form is submitted the choice is accepted as valid, however the user did not select it and the choice may be wrong.
The behaviour of the dropdown and its choices are setup by the module developer. The API offers these possibilities.

3
sailjapan
Re: The 'None' item in the select dropdown box

Would make more sense if it said 'select' or 'choose'...

Login

Who's Online

345 user(s) are online (208 user(s) are browsing Support Forums)


Members: 0


Guests: 345


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits