Skip to content

Multi time/date question #2736

Open

Description

@Leone25

Nextcloud:

  • Nextcloud-Version: 28.0.3
  • Forms-Version: 5.1.0

Is your feature request related to a problem? Please describe.
I use forms to manage ask users their availability and make schedules based on it.

Describe the solution you'd like
It's be great to expand the time range question to allow multiple ranges to be submitted.
Would also be nice to be able to provide a minute step value, instead of just being stuck with the default one. The component already supports it (although it's limited).

Describe alternatives you've considered
Currently I have to make a multiple choice question with a wall of slots in 30min increments and tell users to check the ones they are available.
I've tried the polls app, but it's mainly focused on trying to find a common time for everyone, while I need to spread people to fill all hours.

I'm able to help develop the feature.

Activity

  1. added
    enhancementNew feature or request
    0. Needs triagePending approval or rejection. This issue is pending approval.
    on May 11, 2025
  2. Chartman123 commented on May 11, 2025

    @Chartman123
    Collaborator

    @Leone25 could you please also post the mockup of how you think it might look like?

  3. Leone25 commented on May 11, 2025

    @Leone25
    Author

    For the edit page adding these options in the action menu would be sufficient (probably a different icon for the time step):

    Image

    Ror the form page, I haven't done anything yet, but I was thinking of adding an info line like "Multiple answers allowed" between the question and the answer and when the range is filled a new empty one appears below to add more.

    The extra options optionsLimitMax and optionsLimitMin could be reused to also enforce the number of dates/times provided, wouldn't be that much extra work, and of course those would end up in the action menu as well and would modify the info line to indicate that appropriately.

    For the results, in the summary a bar graph of the number of availability over time would be nice, while for the single responses i'd go for a simple [from:from]-[to:to]; [...] format, same for the excel export

  4. Chartman123 commented on May 12, 2025

    @Chartman123
    Collaborator

    What came to my mind: why don't you just use several time-range questions (configure it once and then copy it)? First one mandatory, further questions optional?

  5. Leone25 commented on May 12, 2025

    @Leone25
    Author

    Because I don't know how many are needed and the flow is not as intuitive.

  6. Chartman123 commented on May 12, 2025

    @Chartman123
    Collaborator

    Ok, so you would like the user to add up to n time-ranges?

  7. Leone25 commented on May 12, 2025

    @Leone25
    Author

    by default, no, I'd like the user to be able to provide any number of time ranges, but I did comment that it'd easy enough and reasonable to also include the option to provide a min and a max number.

  8. susnux commented on Mar 3, 2026

    @susnux
    Collaborator

    So this sounds like a doodle like question type?

  9. Chartman123 commented on Mar 3, 2026

    @Chartman123
    Collaborator

    So this sounds like a doodle like question type?

    I've tried the polls app, but it's mainly focused on trying to find a common time for everyone

    Did you see the option in Polls to limit the number of answers per option and to hide unavailable options? I think your use case is really an edge case for Forms...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions