Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.0-rc6
Component:
number.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Aug 2008 at 06:53 UTC
Updated:
12 Sep 2008 at 07:23 UTC
Hi,
I would like to ask you If it is correct If I am using in integer field -A, select list and B, allowed values f.e. 0|0, 1|1 ....
A, Selection list is more comfortable, I don't allow to fill out some another number.
Is selection list valid for integer field ? One think is possibility use it, second things is recommendation.
B, Allowed values (label and value separate with "|").
Is not better use only predefined 0, 1, 2 .. ?
Thank you for answer.
Comments
Comment #1
yched commentedEr, you pick the widget that fits your needs best :-)
A select list does let you restrict the possible choices, so if that's what you need, go for it.
Allowed value : the | syntax is only useful if you want to provide 'aliases' (i.e the field stores 0 but displays 'zero')
If you don't use aliases, you can declare 0, 1, 2 as allowed, without |'s
Comment #2
sentinelcz commentedThank you yched for clear confirmation.
Lets Have a nice time.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.