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

Allow extensions to enable validate.tpl #13961

Merged
merged 1 commit into from
Apr 5, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Makes it possible for extensions to cause validate to be added.

Validate.tpl provides front end javascript validation. This is a better user experience because the feedback to the user does not involve a slow form refresh. It was added & enabled in the past but caused some processor validation issues. I strongly suspect these would not recur as we handle required processor fields differently now but this provides a conservative way to make it available again.

Hopefully this is the predecessor to always enabling it.

Before

Cannot be enabled via an extension.

After

Can be enabled via an extesnion

Technical Details

From eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#106
I found that I couldn't enable our validation from the payment processor currently.

It's a bit immature in that our front end presentation is poor,but this allows us to
start improving that

Comments

@civibot
Copy link

civibot bot commented Apr 4, 2019

(Standard links)

@civibot civibot bot added the master label Apr 4, 2019
From eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#106
I found that I couldn't enable our validation from the payment processor currently.

It's a bit immature in that our front end presentation is poor,but this allows us to
start improving that
@eileenmcnaughton
Copy link
Contributor Author

unrelated fail

@eileenmcnaughton
Copy link
Contributor Author

test this please

@colemanw
Copy link
Member

colemanw commented Apr 5, 2019

This doesn't change the behavior in core so safe to merge.

@colemanw colemanw merged commit 912924a into civicrm:master Apr 5, 2019
@colemanw colemanw deleted the validate branch April 5, 2019 02:27
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