I have CCK fields that can hold multiple values, I would like some of them to default to showing say 5 values initially.
I'm not looking for any validation that all 5 values are used however.
Thanks!
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI have CCK fields that can hold multiple values, I would like some of them to default to showing say 5 values initially.
I'm not looking for any validation that all 5 values are used however.
Thanks!
Unfortunately there is no way to do this without altering the module code of CCK.
There have been a few patches created that will allow you to set the number of fields initially shown and let you choose how many more to add when click the "Add another" button. However, this feature is not available in the core of Drupal 7 which may be a problem if you choose to upgrade.
Patch created for CCK 2: http://drupal.org/node/530828#comment-3397196
Patch created for CCK 3: http://drupal.org/node/841914#comment-3209072