Adding dynamic text to WPGive donation form
-
I hope this message finds you well. I have a question regarding the customization of WPGive donation forms. I would like to add a text element to the form that dynamically computes the equivalent offset of the donation amount selected by the customer.
Here’s what I’m trying to achieve: When a customer selects a specific donation amount, let’s say $10, I want the text element to be updated to display “Your estimated impact is 10 KG.” Similarly, if they choose $20, the text should update to “Your estimated impact 20 KG.”
Could you please guide me on how to correctly implement this functionality? Any suggestions or code examples would be greatly appreciated.
Thank you in advance for your assistance.
- The topic ‘Adding dynamic text to WPGive donation form’ is closed to new replies.