Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

dev/core#2535 Scheduled reminders: Add error if both absolute and relative date entered #24655

Conversation

larssandergreen
Copy link
Contributor

Overview

Prevents users from saving a scheduled reminder that has both an absolute and relative date set, resulting in the relative date being ignored.

Before

image
This can be submitted successfully, though only the absolute date is actually saved, potentially creating confusion.

After

image
The form cannot be submitted if both relative and absolutes dates are filled in.

@civibot
Copy link

civibot bot commented Sep 30, 2022

(Standard links)

@civibot civibot bot added the master label Sep 30, 2022
@demeritcowboy demeritcowboy merged commit 6afb41b into civicrm:master Oct 1, 2022
@larssandergreen larssandergreen deleted the check-if-both-absolute-and-relative-date-are-set-for-scheduled-reminders branch November 5, 2022 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants