Fixed maximum number of field values, but use «add more» similar to when cardinality «unlimited» is used

Created on 13 May 2011, about 13 years ago
Updated 12 April 2024, 2 months ago

Hi

I'm pretty sure, I missed something, but actually I didn't found any solution or module for my requirement. So I end up here with a feature request.

I would love if I can limit the number of field values to let's say 15, but instead of showing all 15 field widgets in the form, I would like to show just one or two and use the «add more» button to add more field values (like when I allow «unlimited» number of values).

Does anybody know a way to realize this? I think this would be a very helpful feature.

I think the cardinality-selectbox could stay as is, but there could be an additional selectbox with two values like «show fields for all values» and «add more fields as needed».

Any hints about how this could be done are welcome. If I know how to do it, I could write a module and contribute it.

Thanks
Burki

Feature request
Status

Needs work

Version

11.0 🔥

Component
Field 

Last updated 26 minutes ago

Created by

🇨🇭Switzerland burki

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024