Matt Cromwell
Forum Replies Created
-
Hi there,
From looking at the markup of that form it seems it has been heavily customized. You should be seeing an input box at the top of the form that displays the donation amount. When “Custom” is selected then the focus is placed on that input box for the donor to type their amount. You can see how it’s supposed to work live here:
https://givewp.com/demos/payment-gateway/I believe your theme or a developer can changed the markup of that form and has therefore broken that “Custom Amount” functionality.
Do you have any insight into how that might happen? Is that a free theme you got somewhere that I could download and test?
Thanks!
Hi there,
The best way to show your donors of a specific form is with our [give_donor_wall] shortcode. You can see it has the
formargument which you can pass any form id to.If you want to get a little fancy and output that donor wall on EVERY single Give form page, then you can use this simple snippet I just put together:
If you need guidance implementing custom PHP functions on your website, we have this guide here: https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/
Thanks!
Hi there, thanks for your feedback.
Give has evolved a ton over the past four years and is being improved upon daily based on user feedback. Feel free to review our Github repo for all the issues we are continually addressing based on user feedback like yours.
I’d love to hear specifically how you’d like the customization to be improved upon. We’re very open to that feedback specifically because we are currently working towards a new type of donation form builder.
Hi there,
This question is regarding one of our paid add-ons. The moderators of this forum require that all inquiries about paid products happen elsewhere. Please use our Priority Support page for your inquiry and we’ll get back to you very soon:
https://givewp.com/priority-supportThanks!
OK then. Here’s what you need to do.
1. Grab the FORM ID of each of the forms that you WANT to have the comment box required.
2. Use this updated snippet, and replace the'123', '456'with the form IDs of your forms.function mycustomprefix_give_form_required_fields( $required_fields, $form_id ) { //Donor Comment $forms = array('123','456'); if ( in_array($form_id, $forms) ) { $required_fields['give_comment'] = array( 'error_id' => 'invalid_comment', 'error_message' => __( 'Please enter where you want this donation designated in the comment box. See notice above for details.', 'give' ) ); } return $required_fields; } add_filter( 'give_donation_form_required_fields', 'mycustomprefix_give_form_required_fields', 10, 2 );That will ensure that the requirement is ONLY on the forms that you want and not on the other ones.
If you only have ONE form that it’s required on, just use the one number, like this:
$forms = array('123');Thanks!
OK… I think there’s a misunderstanding. You want the comment to be REQUIRED, right? But on that ONE form you want it NOT required. If that’s the case, then you need to wrap the code in a
ifconditional statement that checks against theform_id.Before I help with that guidance, can you confirm? There’s a form somewhere that you have comments enabled on, that you want to require it for, but NOT that one that you just linked to. Is that correct?
I would trim it down to the exact code I provided above first. Confirm that works as intended first.
Then add the last name, and confirm that BOTH work as intended.
Then NO NEED to do the Email one, because the email field is already required.
Make sure the previous snippet is REMOVED and the new one is the only one present. Can you provide a screenshot of how you’ve entered the code into your site?
Hi there,
Thanks for the heads up on that, the doc had an outdated filter. This is the correct and updated function you should use instead of what you have above:
function mycustomprefix_give_form_required_fields( $required_fields ) { //Donor Comment $required_fields['give_comment'] = array( 'error_id' => 'invalid_comment', 'error_message' => __( 'Please enter where you want this donation designated in the comment box. See notice above for details.', 'give' ) ); return $required_fields; } add_filter( 'give_donation_form_required_fields', 'mycustomprefix_give_form_required_fields' );Thanks!
@bao0603 this is typically that your Donation Confirmation page is being cached, which results in the browser not knowing where the donor came from and what info to show. Or a problem with how your site handles Sessions.
But so we don’t continue to bother @sounds any longer, please do start a new thread and answer these three questions for me:
1. Can you confirm that all caching plugins have excluded your Donation Confirmation page completely?
2. Which webhost are you on? Do you know how they handle browser sessions or PHP Sessions?
3. Are you using any security plugins? Or the Heartbeat Control plugin? If so, please let me know which ones they are.Forum: Reviews
In reply to: [WP Rollback - Rollback Plugins and Themes] Life saver this pluginGreat to hear! Thanks! We’ll get that version compatibility updated soon.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Reconciling Donor ImportThanks for the clarification. I understand now that this is a problem with a failed import — I believed you imported donations successfully but they were all marked as “Test”.
That kind of thing typically happens when the fields aren’t mapped correctly. If you want to get it imported still, I’ll need perhaps a screenshot of the CSV (please make sure all the personal information is blurred out) and then I can advise on the best way to ensure the donations are all imported correctly.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Radio Buttons Not AlignedWhen I inspect the CSS on your page, I don’t see the above entered at all. Can you provide a screenshot of your CSS again?
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Radio Buttons Not AlignedAh! That’s not the “Donate Button”, that’s the “Reveal” button because it “reveals” the rest of the form. Here’s what you need for that:
input.give-btn-reveal {background: black; color: white;} input.give-btn-reveal:hover {background:white; color: black;}@webcreationbelgium Can you provide a link to your form so we can see the problem live?