give_set_error not displaying errors return in form #6662
-
Below use of give hook to do custom validation
The above seems to be working as it can be seen in the response call, however this validation output is not displaying anywhere on the frontend of the form. WP & Plugin is up to date |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey @ChelseaKaweb, it looks like that is a bug, which I was able to reproduce with the Classic Form Template. So that you can be kept up to date with the status of this bug I would suggest that you open a support ticket. Our support team is best equipped to keep track of communicates with customers. You can provide them with this reduced test case, which they can troubleshoot using the Classic Form Template. add_action('give_checkout_error_checks', function($valid_data, $data) {
give_set_error('my_error', __('Sorry, we are not collecting from your area.', 'give'));
}, 10, 2); |
Beta Was this translation helpful? Give feedback.
-
Hi,
No it was just resolved by the looks of things https://wordpress.org/support/topic/custom-validation-not-displaying-feedback/ <https://wordpress.org/support/topic/custom-validation-not-displaying-feedback/>
Thanks
<http://www.kaweb.co.uk/?utm_source=signaturesatori&utm_medium=email&utm_campaign=general_signature> chelsea thomas-round
account manager / developer
w: kaweb.co.uk <https://kaweb.co.uk/?utm_source=signaturesatori&utm_medium=email&utm_campaign=general_signature> | t: 01543 414564 <tel:01543414564>
Sweet Digital & Click are brands of Kaweb, an ISO 27001 certified company.
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Kaweb Limited (Company No. 3891664. VAT Registration No. 747458689). If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
… On 21 Mar 2023, at 08:29, iamgracey ***@***.***> wrote:
hi, has been this resolved now?
—
Reply to this email directly, view it on GitHub <#6662 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5B475METFOTXWZOXGQOOEDW5FRGDANCNFSM6AAAAAATP3WFZ4>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hi
Was there any progress with this?
https://feedback.givewp.com/bug-reports/p/givewp-should-display-custom-errors-correctly-on-the-classic-and-multi-step-form
GiveWP should display custom errors correctly on the classic and multi-step forms | Bug Reports | GiveWP Fundraising Plugin
feedback.givewp.com
Thank you
<http://www.kaweb.co.uk/?utm_source=signaturesatori&utm_medium=email&utm_campaign=general_signature> chelsea thomas-round
developer
w: kaweb.co.uk <https://kaweb.co.uk/?utm_source=signaturesatori&utm_medium=email&utm_campaign=general_signature> | t: 01543 414564 <tel:01543414564>
Sweet Digital & Click are brands of Kaweb, an ISO 27001 certified company.
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Kaweb Limited (Company No. 3891664. VAT Registration No. 747458689). If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.
… On 21 Mar 2023, at 09:00, iamgracey ***@***.***> wrote:
is there a way to show the custom error message in the form after submitting?
—
Reply to this email directly, view it on GitHub <#6662 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5B475IT6OXL4XFIV6TZXSLW5FUZTANCNFSM6AAAAAATP3WFZ4>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
Hey @ChelseaKaweb, it looks like that is a bug, which I was able to reproduce with the Classic Form Template.
So that you can be kept up to date with the status of this bug I would suggest that you open a support ticket. Our support team is best equipped to keep track of communicates with customers.
You can provide them with this reduced test case, which they can troubleshoot using the Classic Form Template.