Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Date field: Range restriction and range responses #2396

Open
Bibo-Joshi opened this issue Nov 3, 2024 · 0 comments
Open

Date field: Range restriction and range responses #2396

Bibo-Joshi opened this issue Nov 3, 2024 · 0 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: ❓ question types
Milestone

Comments

@Bibo-Joshi
Copy link

Nextcloud (please complete the following information):

  • Nextcloud-Version: [30.0.1]
  • Forms-Version: [4.3.2]

Is your feature request related to a problem? Please describe.
I'm organizing a week-long event. In the registration form I want people to tell me on which day they'll join and on which day they'll leave. I can use the date field for that, but that allows to add options that are not even in the scope of the event. That can cause some overhead of cleaning up the data and getting back to people about their invalid registration.

Describe the solution you'd like

  • I'd like to be able to restrict the date field input to dates in a specified range. E.g. the user can select only a date between 2024-01-01 and 2024-01-07
  • Ideally I'd also like to have the user select a date range. That way, instead of having two fields for "date of arrival" and "date of departure", I'd have one field "When will you join us?" und the user can select e.g. the range 2024-01-02 - 2024-01-6. The cherry on top would be if a minimum date range would be possible - thank of hotel bookings that may require a minimum of 2 nights.

Describe alternatives you've considered
Keep doing as is and clean up the data manually :)

Additional context

@Bibo-Joshi Bibo-Joshi added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Nov 3, 2024
@Chartman123 Chartman123 added 1. to develop Accepted and waiting to be taken care of feature: ❓ question types and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Nov 3, 2024
@Chartman123 Chartman123 added this to the Maybe someday milestone Nov 3, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: ❓ question types
Projects
None yet
Development

No branches or pull requests

2 participants