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

Move greeting handling up as it is not paymentValidation dependent #15904

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Re-orders validation rules on the event registration form so that the validation for greetings is not after the early return

Before

Validation of greetings is at the end - for zero amount submissions it is never reached

After

Validation is before the early return statement

Technical Details

This is more logical & helps with other code fixes. However, I could be talked into just removing the validation. If feels like something that could be somewhat easily misconfigured & missing the custom value would be less bad than losing the form submission

Comments

@civibot
Copy link

civibot bot commented Nov 21, 2019

(Standard links)

@civibot civibot bot added the master label Nov 21, 2019
@eileenmcnaughton eileenmcnaughton merged commit 9198c99 into civicrm:master Nov 21, 2019
@eileenmcnaughton eileenmcnaughton deleted the greeting branch November 21, 2019 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants